包含
initializer的中国译典句库查询结果如下:
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-technet.microsoft.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-technet.microsoft.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-msdn2.microsoft.com-
1 | 一个class可以包含多个与static字段声明交错的static初始值设定项块。 | A class may contain several static initializer blocks interspersed with static field declarations. | |
2 | 由于采用这种语义,应该尽可能使用初始化器列表。 | Given this kind of semantics, using initializer lists should be preferred whenever possible. | |
3 | 有关操作、引用以及基本属性的元数据在一个静态初始程序块中被初始化,如清单3所示。 | Metadata about operations, references, and basic attributes are initialized in a static block initializer , as shown in Listing 3. | |
4 | 在标准C中,这种作法的效果是禁止将线程本地变量的地址用作对象或指针的初始值设定项。 | In standard C, the effect of this is to forbid the use of the address of a thread local variable as an initializer for an object or pointer. | |
5 | 在类声明中声明新的类初始值设定项。 | Declares a new class initializer inside a class declaration. | |
6 | 在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。 | When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions. | |
7 | 在数组的初始值设定项中没有提供足够的元素。 | You have not supplied enough elements in the initializer for your array. | |
8 | 在研究初始化器列表示例和典型用法之前,先讨论一下什么是类型窄化。 | Before moving on to initializer list examples and typical usage, let’s look at what is meant by type narrowing. | |
9 | 这是一个关于实例初始值设定项的示例。 | This is an example of an instance initializer . | |
10 | 指定的成员是类初始值设定项。 | The specified member is a class initializer . | |
11 | 指定的初始化程序语法允许您通过名字初始化成员,不用理会它们在对象中出现的顺序。 | The designated initializer syntax allows you to initialize members by name, without regard to the order in which they appear in an object. | |
12 | 字段初始值设定项不能引用其他实例字段。 | A field initializer cannot refer to other instance fields. | |
13 | 组成初始值设定项块的代码。 | The code that comprises the initializer block. |