|
|
|
|
|
by codeflo
2448 days ago
|
|
std::move's implementation not quite as elegant, though (this is from the GCC source): template<typename _Tp>
constexpr typename std::remove_reference<_Tp>::type&&
move(_Tp&& __t) noexcept
{ return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
|
|