constructor with default arguments
常见例句
- The variables at the right with no corresponding constructor arguments are default constructed.
右边那些没有对应的构造函数参数的变量将被默认构造。 - However, there is one important difference between structures and classes: structures can have a default constructor (that is, one with no arguments) even if no primary constructor is defined.
但是,结构和类之间有一个重要区别:结构可以有默认构造函数(即,没有参数的构造函数),即使未定义主构造函数也是如此。 返回 constructor with default arguments