std::vector<T>の最後尾の要素を移動したいとき、
std::vector<T> vec;
T tmp = vec.back();
vec.pop_back();
という感じで、二段階でやるしかないでしょうか?