¶template <typename T>
T take(T& from)
template <typename T>
T take(T& from)
Description
Like std::move, but move-constructs the result so it does not reference the argument after returning.
Template Parameters
- T
Parameters
- T& from