A constructor initializer list specifies initial values for one or more data members of the class.
构造函数的初始化列表为类的一个或多个数据成员指定初值。
Class members that are not initialized in the initializer list are implicitly initialized by using their default constructor.
没有在初始化列表中初始化的类成员,使用它们的默认构造函数隐式初始化。
The constructor initializer is a list of member names, each of which is followed by that member's initial value in parentheses.
构造函数的初始化式是一系列成员名,每个成员后面是括在圆括号中的初始值。
The members are initialized to the values specified in the initializer list before the body of the constructor executes.
在构造函数体现执行前,用初始化列表中指定的值初始化成员。
The members are initialized to the values specified in the initializer list before the body of the constructor executes.
在构造函数体现执行前,用初始化列表中指定的值初始化成员。
应用推荐