Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
メンバー関数内でコンストラクターを呼び出すことはできますか?それはコンストラクターチェーンの例ですか?コンストラクターチェーンは最新のC++バージョンで有効ですか?(C#の場合と同様)
1)はい
2)いいえ、関数からコンストラクターを呼び出すことはコンストラクターチェーンではありません。
3)はい、それは委任コンストラクターと呼ばれます