常見(jiàn)例句The initializer must be an expression. 這個(gè)搆造者必須是一個(gè)表達(dá)式。The declarator must include an initializer. 聲明者必須包含一個(gè)搆造者。We are using here an object initializer. 我們?cè)谶@裡使用了一個(gè)對(duì)象搆造器。The initializer for a "plain" T& must be an lvalue of type T. 就是說(shuō),衹有確切的類型T才能初始化T&,不能經(jīng)過(guò)隱式轉(zhuǎn)換。因此上述代碼會(huì)得到一個(gè)編譯錯(cuò)誤:The compile-time type of the initializer expression cannot be the null type. 在編譯時(shí)刻搆造者表達(dá)式的類型不能爲(wèi)null類型。For example, the initializer of an enumerator must be a constant expression. 例如,枚擧成員的初始化式必須是常量表達(dá)式。 返回 initializer