• Which member functions must be passed as parameters?

    哪些成员函数必须作为参数传递。

    youdao

  • As we see in Listing 1, the member functions of the Example object are defined as closures.

    如清单1中所示,Example对象的成员函数被定义为闭包。

    youdao

  • This header file should ideally contain all the class definitions, member functions, and variables.

    在理想情况下,头文件应该包含所有类定义、成员函数和变量。

    youdao

  • We refer to these operations as member functions because they (usually) operate on a specific object.

    我们将这些操作称为成员函数,是因为它们(通常)在特定对象上操作。

    youdao

  • We define member functions similarly to how we define ordinary functions. As with any function, a member function consists of four parts.

    成员函数的定义与普通函数的定义类似。和任何函数一样,成员函数也包含下面四个部分。

    youdao

  • Protected and private members may be accessed only from other member functions.

    仅可从其他成员函数访问受保护的和私有的成员。

    youdao

  • The member functions that define how initialization works are known as constructors .

    定义如何进行初始化的成员函数称为构造函数。

    youdao

  • These unions may not have member functions and may not have private or protected members.

    这些联合不能具有成员函数,也不能具有私有或受保护成员。

    youdao

  • Therefore, we could set up a table of Pointers to all the (exported) member functions of the object.

    这样,我们能设置一个指针表指向所有(导出)成员函数。

    youdao

  • Standard algorithms and all member functions that work with a range of iterators use this convention.

    使用迭代器的标准算法和成员函数都遵守这个约定。

    youdao

  • Most overloaded operators may be defined as ordinary nonmember functions or as class member functions.

    大多数重载操作符可以定义为普通非成员函数或类的成员函数。

    youdao

  • Such tasks include creating new classes, adding new member functions and variables, and adding Automation methods and properties.

    这类任务包括创建新类,添加新成员函数和变量,以及添加自动化方法和属性。

    youdao

  • A constructor is a special member function that is distinguished from other member functions by having the same name as its class.

    构造函数是特殊的成员函数,与其他成员函数不同,构造函数和类同名,而且没有返回类型。

    youdao

  • If I have a pointer to an object cast to one of its base classes, I can call the correct member functions through the abstract base class.

    如果我有一个对象的指针,转换到它的基类指针对象上,我能通过基类指针调用合适的成员函数。

    youdao

  • Each class may define one or more special member functions (Section 1.5.2, p. 24) that say how we can initialize variables of the class type.

    每个类都可能会定义一个或几个特殊的成员函数(第1.5.2节)来告诉我们如何初始化类类型的变量。

    youdao

  • 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.

    具有私有可视性的成员函数只能由与该成员函数在同一个类中定义的其它成员函数调用,而在子类中的成员函数不能调用该成员函数。

    youdao

  • Moreover, it can optimize the whole design program by making use of inheritance relations of data members and member functions between the basic class and its derived class.

    同时利用父类与子类间数据成员、成员函数的继承关系,可以优化曲线测设程序的整体设计。

    youdao

  • The member functions of an object are the interface events that trigger state transitions, and actions associated with state transitions constitute the body of the member functions.

    而对于引起状态迁移的接口事件,则可以通过对象类中的成员函数来完成,成员函数体的主要功能就是实现状态迁移中发生的一系列活动。

    youdao

  • Unfortunately it is not possible to use pointer containers with mutating algorithms from the standard library. However, the most useful ones are instead provided as member functions.

    很不幸,不可以将指针容器与标准库的可变算法共用。不过,这些算法中最有用的已经以成员函数的方式提供出来了。

    youdao

  • It includes all class data members, all class member functions (either explicitly declared, or implicitly generated by the compiler), all base classes of the class, and all their members. Consider.

    它包括所有类的数据成员,所有类的成员函数(或者显式声明,或者由编译器隐式生成),所有类的基类和所有它们的成员。

    youdao

  • It includes all class data members, all class member functions (either explicitly declared, or implicitly generated by the compiler), all base classes of the class, and all their members. Consider.

    它包括所有类的数据成员,所有类的成员函数(或者显式声明,或者由编译器隐式生成),所有类的基类和所有它们的成员。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定