• A constructor initializer list specifies initial values for one or more data members of the class.

    构造函数的初始化列表为类的一个或多个数据成员指定初值。

    youdao

  • The constructor initializer is a list of member names, each of which is followed by that member's initial value in parentheses.

    构造函数的初始化式是一系列成员名,每个成员后面是括在圆括号中的初始值。

    youdao

  • The only way for a constructor to handle an exception from a constructor initializer is to write the constructor as a function try block.

    构造函数要处理来自构造函数初始化式的异常,唯一的方法是将构造函数编写为函数测试块。

    youdao

  • P' must be fully assigned before control is returned to the caller. Consider calling the default constructor from a constructor initializer.

    并且给了我们一个建议,那就是在构造器之前调用默认构造器。

    youdao

  • The second scenario is when a type has a initializer for a static field, in which case the compiler adds a type constructor behind the scenes.

    第二种情况是,类型具有一个用于静态字段的初始值设定项,在这种情况下,编译器会在后台添加类型构造函数。

    youdao

  • As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.

    正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。

    youdao

  • In an initializer block, which executes just before the constructor.

    在一个初始化块中,仅在构造函数之前执行。

    youdao

  • Provide a GBeanInfo static initializer that describes the constructor.

    提供描述构造函数的gbeaninfo静态初始化器。

    youdao

  • Class members that are not initialized in the initializer list are implicitly initialized by using their default constructor.

    没有在初始化列表中初始化的类成员,使用它们的默认构造函数隐式初始化。

    youdao

  • If there is no default constructor, then there is a compile-time error: the object must be given an explicit initializer.

    如果没有默认构造函数,那么将会出现编译时错误:必须要给对象指定显式的初始化式。

    youdao

  • The members are initialized to the values specified in the initializer list before the body of the constructor executes.

    在构造函数体现执行前,用初始化列表中指定的值初始化成员。

    youdao

  • As with instance initialization, you can use the initializer syntax as an alternative to the static constructor.

    和实例初始化一样,可以使用初始化器语法作为静态构造函数的变体。

    youdao

  • The constructor that is used when no initializer is specified.

    没有指定初始化时使用的构造函数。

    youdao

  • To use them, you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.

    要使用动态字典,请创建会话对象并将其传递到二进制xml读取器或编写器的构造函数或初始值设定项。

    youdao

  • To use them you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.

    要使用动态字典,请创建会话对象并将其传递到二进制xml读取器或编写器的构造函数或初始值设定项。

    youdao

  • When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.

    当您使用物件初始设定式来建立具名型别的执行个体时,会呼叫类别的预设建构函式,接著按照您指定的顺序初始化指定的成员。

    youdao

  • When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.

    当您使用物件初始设定式来建立具名型别的执行个体时,会呼叫类别的预设建构函式,接著按照您指定的顺序初始化指定的成员。

    youdao

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

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

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