in-class initializer的意思|示意

美 / / 英 / /

课堂上的初始化


in-class initializer的网络常见释义

类内初始值 ... 类型别名 type alias 类内初始值 in-class initializer 预处理器 preprocessor ...

in-class initializer相关例句

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.

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

When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.

在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。

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

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

In a static initializer block, which executes when the class is loaded.

在一个静态初始化块中,在加载类时执行。

We use the EmbeddedDriver for our driver class in the static initializer of the class.

我们将在类的静态初始化器中把 EmbeddedDriver 用于驱动程序类。

It cannot be used in the initializer list for a base class.

它无法在基底类别的初始设定式清单中使用。