MSVCRT std::vector 新しいページはコチラ
提供: yonewiki
(→メンバ関数 assign) |
(→メンバ関数 emplace_back) |
||
94行: | 94行: | ||
obj.emplase_back(std::string("Hello! VectorDataString!")); | obj.emplase_back(std::string("Hello! VectorDataString!")); | ||
− | //std::stringのコンストラクタでstd:: | + | //std::stringのコンストラクタでstd::string型そのものが右辺値参照として引数になる。 |
} | } | ||
</syntaxhighlight2> | </syntaxhighlight2> | ||
[[[Windows#MSVC Runtimeリファレンス|MSVC Runtimeリファレンス]]に戻る | [[[Windows#MSVC Runtimeリファレンス|MSVC Runtimeリファレンス]]に戻る |