only one member of a union may be specified in a constructor initializer list
只能在构造函数初始值设定项列表中指定联合的一个成员
initialization of a base or a non-static member by constructor initializer list
6) 用构造函数初始化器列表 初始化基类或非静态成员
Our only chance to initialize const or reference data members is in the constructor initializer.
初始化const 或引用类型数据成员的唯一机会是构造函数初始化列表中。
'%$I': member function or nested class in constructor initializer list
"%$I": 构造函数初始值设定项列表中的成员函数或嵌套类
'%$S': constructor initializer lists are only allowed on constructor definitions
"%$S": 构造函数初始值设定项列表只能在构造函数定义中使用
a temporary bound to a reference member in a constructor initializer list persists only until the constructor exits, not as long as the object exists. (note: such initialization is ill-formed as of DR 1696)
Backing field for automatically implemented property '%1! ls!' must be fully assigned before control is returned to the caller. Consider calling the default constructor from a constructor initializer.
Contenuto potenzialmente sensibile o inappropriato
La funzione degli esempi è unicamente quella di aiutarti a tradurre la parola o l'espressione cercata inserendola in un contesto. Gli esempi non sono stati scelti e validati manualmente da noi e potrebbero contenere termini o contenuti non appropriati. Ti preghiamo di segnalarci gli esempi da correggere e quelli da non mostrare più. Le traduzioni potenzialmente sensibili, inappropriate o colloquiali sono in genere evidenziate in rosso o in arancione.