We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
成员初始化器
成员初始值设定项
Note: same applies to default member initializer
注意:同样应用于默认成员初始化器
In the definition of a constructor of a class, member initializer list specifies the initializers for direct and virtual base subobjects and non-static data members.
在类的构造函数定义中,成员初始化器列表 指定直接和虚基类子对象和非静态数据成员的初始化器。
flexible array member initializer must be constant
可变数组成员初始值设定项必须是常量
data member initializer is not allowed
不允许使用数据成员初始值设定项
T is a union with at least one variant member with non-trivial default constructor, and no variant member of T has a default member initializer.
T 是至少一个变体成员有非平凡默认构造函数,且变体成员无一拥有默认成员初始化器的 union 。
If a union contains a non-static data member with a non-trivial default constructor, the default constructor of the union is deleted by default unless a variant member of the union has a default member initializer.
T is a non-union class with a variant member M with a non-trivial default constructor, and no variant member of the anonymous union containing M has a default member initializer. (since C++11)
T 是拥有有非平凡默认构造函数的变体成员 M ,且含 M 的匿名联合体的变体成员无一拥有默认成员初始化器的非联合类类型。 (C++11 起)
Note: if initialization order was controlled by the appearance in the member initializer lists of different constructors, then the destructor wouldn't be able to ensure that the order of destruction is the reverse of the order of construction
First, copy-initializes the exception object from expression (this may call the move constructor for rvalue expression, and the copy/move may be subject to copy elision), then transfers control to the exception handler with the matching type whose compound statement or member initializer list was most recently entered and not exited by this thread of execution.
(since C++11) Reference members cannot be bound to temporaries in a member initializer list
(C++11 起) 引用成员不能绑定到成员初始化器列表中的临时量:
Member initializer list is the place where non-default initialization of these objects can be specified.
成员初始化器列表是能指定这些对象非默认初始化之处。
Non-static data members can be initialized with member initializer list or with a default member initializer.
非静态数据成员可以成员初始化器列表 或以默认成员初始化器 初始化。
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.