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.
データ メンバー std::vector を持つラッパー クラスを作成しようとしています。範囲外エラーを発生させずに次のことを実行できるようにするには、クラスのデフォルト コンストラクターをどのように表示する必要がありますか。
Wrapper W; W[0] = value; //overloaded index operator, forwards to the vector