If the previous function was a class member function, then you would have used an __arg2 variable.
如果前面的函数是类成员函数,那么应该使用__arg2变量。
If a class member function's definition appears inside the class definition, the function is implicitly inline.
一个类成员函数的定义如果在类定义中,这个成语函数就是隐式内联的。
The constructor still exists, but it is private, and can only be invoked from within another class member function.
构造函数仍然存在,但它是私人的,只能从内部调用另一个类的成员函数。
Note that when you try to access an argument of a class member function the actual argument count starts from 2 instead of 1.
注意,在访问类成员函数的参数时,实际的参数编号从2而不是从1 开始。
Making it private is the "old" way of doing it. The constructor still exists, but it is private, and can only be invoked from within another class member function.
使其私人的“旧”的方式这样做。构造函数仍然存在,但它是私人的,只能从内部调用另一个类的成员函数。
If a given bug is applicable to more than one member function within a class, then it should be documented for the class instead of solely for the function.
如果某一特定的错误可适用于一个类中的多个成员函数,那么应该针对该类而不是单独为该函数编制文档。
A member function with public visibility can be invoked by any other member function in any other object or class.
在任何其它对象或类中的任何其它成员函数都可以调用具有公有可视性的成员函数。
A member function with protected visibility can be invoked by any member function in the class in which it is defined or any subclasses of that class.
具有受保护可视性的成员函数可以由与该成员函数在同一个类中定义或其任何子类中定义的其它任何成员函数调用。
A member function with private visibility can only be invoked by other member functions in the class in which it is defined, but not in the subclasses.
具有私有可视性的成员函数只能由与该成员函数在同一个类中定义的其它成员函数调用,而在子类中的成员函数不能调用该成员函数。
This example shows the C++ source code that contains a non-class function, a Private member function of a class, and a Public member function of a class.
这个示例使用的 C++源代码包含一个非类函数、类的一个私有成员函数和一个公共成员函数。
When a setter (a member function that updates a field) of a class that implements the Runnable interface is not synchronized, then you should document your reasons why.
如果实现Runnable接口的类的setter(更新字段的成员函数)没有同步,则应该写明原因。
Like any other member function, a constructor is declared inside the class and may be defined there or outside the class.
和其他成员函数一样,构造函数也必须在类中声明,但是可以在类中或类外定义。
There's a virtual table for each class, which contains a list of Pointers to the implementation of each member function.
有一个为每个类的虚表,其中包含每个成员的功能的实现的指针列表。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
Now Im going to call virtual function from constructor of Base class rather than member function.
现在,我米要调用基类的构造函数,而不是成员函数虚函数。
A constructor is a special member function that is distinguished from other member functions by having the same name as its class.
构造函数是特殊的成员函数,与其他成员函数不同,构造函数和类同名,而且没有返回类型。
If, in the same class, you have a regular member function and a templated member function with the same signature, the templated one must come first.
在同一个类中,如果有具有相同签名的常规成员函数和模板成员函数,则必须先有模板成员函数。
You cannot specify a class, but you can specify a member function of the class and let the expression evaluator search outward.
不能指定类,但是可以指定类的成员函数,并让表达式计算器向外搜索。
I don't see the point of making private function with arguments, if you're aware that this argument is class private member.
我不认为让私有函数和参数,如果你知道这个参数是类私有成员。
Also, if a member function is in the wrong class, many potential users of the function won't find it.
而且,如果一个成员函数在一个错误的类中,很多有可能需要这个函数的用户没法找到它。
The left brace that marks the beginning of the function body, class member block, interface member block, or enumeration block is missing.
缺少标记函数体、类成员块、接口成员块或枚举块的开头的左大括号。
The state test of class is an important component part of object-oriented software test. Class unit test comes down to test the data member and member function.
类的状态测试是面向对象软件测试的重要内容,类的单元测试归结为测试类的数据成员和成员函数。
The system played a monitoring role for the member variable and function of the class in the applying procedure.
该系统提供对应用程序类中成员变量和成员函数的监控功能。
The system plays a monitoring role for the member variable and function of the class in the applying procedure.
该系统提供对应用程序类中成员变量和成员函数的监控功能。
The establishment of a point on the plane class contains requirements that point to another member of the distance function.
建立平面上一个的点类,该类内包含求该点到另一个点的距离的成员函数。
If the function was intended to be a static member function, rename it so it doesn't conflict with the base class virtual function.
如果函数用作静态成员函数,则重命名该函数,以便不与基类虚函数冲突。
Member template functions cannot be virtual functions and cannot override virtual functions from a base class when they are declared with the same name as a base class virtual function.
当使用与基类虚函数相同的名称进行声明时,成员模板函数不能是虚函数并且不能从基类重写虚函数。
A member function of a derived class has a different return type from the corresponding member function of the base class.
派生类的成员函数与相应的基类成员函数有不同的返回类型。
C + + Does derived class could inheritance Static data member and Static member function from Base class?
C+ +并派生类可以继承的静态数据成员,static成员函数从基类?
Date class whose member variables are: year, month, day, member functions are: output date function, set the date function, and interpretation of leap year and leap year date plus 1 function function.
详细说明:Date类,其成员变量有:年、月、日,成员函数有:输出日期函数、设置日期函数、判读平年与润年函数和日期加1函数。
应用推荐