C++相談室 part87
■ このスレッドは過去ログ倉庫に格納されています
0087デフォルトの名無しさん
2010/12/12(日) 21:15:11念のためにこれも付け加えておくか
After the call to a constructor for class X has completed, if a member of X is neither specified in the
constructor’s mem-initializers, nor default-initialized, nor value-initialized, nor given a value during execution
of the body of the constructor, the member has indeterminate value.
はっきりと「メンバの値は不定」と書いてあるだろう
つまりgcc拡張である事が明らかだ
■ このスレッドは過去ログ倉庫に格納されています