コンテナの要素を別のコンテナに移動する
コンテナごとムーブ
std::vector<T> v1; // ... std::vector<T> const v2(std::move(v1));
move_iterator を使ってムーブ
std::vector<T> v; // ... std::list<T> const l( std::make_move_iterator(v.begin()), std::make_move_iterator(v.end()));
move アルゴリズムを使ってムーブ
std::vector<T> v1;
std::vector<T> v2;
// ...
v2.reserve(v2.size() + v1.size());
std::move(v1.begin(), v1.end(), std::back_inserter(v2));
splice メンバ関数を使う (std::list)
std::list<T> l1;
std::list<T> l2;
// ...
l2.splice(l2.end(), l1);
などなど.