1·Using auto with initializer list.
对初始化器列表使用auto。
2·Of initializer lists and type narrowing
初始化器列表和类型窄化(type narrowing)
3·Initializer lists in new expressions.
可以在new表达式中使用初始化器列表。
4·Listing 2 shows a typical static initializer.
清单2显示了典型的静态初始化器。
5·This is an example of an instance initializer.
这是一个关于实例初始值设定项的示例。
6·Initializer lists in variable definitions.
可以在变量定义中使用初始化器列表。
7·The list defined using -that's an initializer list.
这个列表是使用定义的,它是初始化器列表。
8·A type will gain a type initializer in two scenarios.
类型在两种情况下会获取类型初始值设定项。
9·Listing 12 shows how you traverse an initializer list.
清单12说明如何访问初始化器列表。
10·In an initializer block, which executes just before the constructor.
在一个初始化块中,仅在构造函数之前执行。
1·The metaclass will create the class (as a new style one) and will pass it to the class initializer procedure.
元类将创建此类(作为一个新式类)并将其传递给类初始化器过程。
2·Given this kind of semantics, using initializer lists should be preferred whenever possible.
由于采用这种语义,应该尽可能使用初始化器列表。
3·The list defined using -that's an initializer list.
这个列表是使用定义的,它是初始化器列表。
4·Listing 2 shows a typical static initializer.
清单2显示了典型的静态初始化器。
5·The static initializer in Listing 2 shows the registration process for a Customer class that contains two properties: name and salary.
清单 2 中的静态初始化器显示了 Customer 类的注册过程,这个类包含两个属性:name 和 salary。
1·The following example demonstrates using the base class initializer.
下列范例示范使用基底类别初始设定式。
2·You can create an implicitly-typed array in which the type of the array instance is inferred from the elements specified in the array initializer.
您可以建立隐含型别的阵列,在其中阵列执行个体的型别是由阵列初始设定式中指定的项目推断。
3·It cannot be used in the initializer list for a base class.
它无法在基底类别的初始设定式清单中使用。
1·After the project had been created, we used the Eclipse extension point wizard, shown in figure 1, to create a preference page with its preferences initializer.
创建好项目后,我们使用Eclipse扩展点向导(如图1所示)来使用首选项初始化程序创建一个首选项页面。
2·The com.dW.dWRFD1Handler class is basic, consisting mostly of an initializer, getters, and setters, and it should not require much further discussion.
dWRFD1Handler类很简单,主要由一个初始化程序、getter 和 setter 组成,对它应该没必要再作讨论。