template <class T>typename remove_reference<T>::type&& move (T&& arg) noexcept;
| |
<algorithm> overloads this function, providing a similar behavior applied to ranges. | |
myvector.push_back copies the value of foo into the vector (foo keeps the value it had before the call).myvector contains: foo-string bar-string |