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.
私は自分のプログラムの問題を解決しようとしてインターネットをさまよっています。標準に関するドキュメントで、Vector オブジェクトに関する十分な情報を見つけることができません。
だから、私の質問は次のとおりです。デフォルトのコンストラクターを使用して新しく作成された Vector オブジェクトに影響するデフォルト値は何ですか?
つまりstd::vector、デフォルトのコンストラクターは、要素が 0 の空のベクターを作成します。
std::vector