...evaluation):即便你目前没有设置自定义属性的值,也应该等到调用者需要时再创建对象。 指定初始化函数(designated initializer):即类中的某个初始化方法被指派为指定初始化函数。
基于42个网页-相关网页
与别名一样,指定外壳函数的最佳位置是在外壳的初始化脚本中。
As with aliases, the best place to specify shell functions is within the initialization script for your shell.
构造函数的初始化列表为类的一个或多个数据成员指定初值。
A constructor initializer list specifies initial values for one or more data members of the class.
构造函数的形参指定了创建类类型对象时使用的初始化式。
The constructor's parameters specify the initializers that may be used when creating objects of the class type.
应用推荐