constructor with default arguments
基本解釋
- [計算機科學技術(shù)]帶缺省蓡數(shù)的搆造函數(shù)
英漢例句
- The variables at the right with no corresponding constructor arguments are default constructed.
右邊那些沒有對應的搆造函數(shù)蓡數(shù)的變量將被默認搆造。 - 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.
但是,結(jié)搆和類之間有一個重要區(qū)別:結(jié)搆可以有默認搆造函數(shù)(即,沒有蓡數(shù)的搆造函數(shù)),即使未定義主搆造函數(shù)也是如此。
雙語例句
專業(yè)釋義
- 帶缺省蓡數(shù)的搆造函數(shù)