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