Ticket #5351: detail_move.hpp.diff
File detail_move.hpp.diff, 602 bytes (added by , 11 years ago) |
---|
-
detail/move.hpp
19 19 20 20 #ifndef BOOST_NO_RVALUE_REFERENCES 21 21 22 template <class T>23 typename remove_reference<T>::type&&24 move(T&& t)25 {26 typedef typename remove_reference<T>::type Up;27 return static_cast<Up&&>(t);28 }22 // template <class T> 23 // typename remove_reference<T>::type&& 24 // move(T&& t) 25 // { 26 // typedef typename remove_reference<T>::type Up; 27 // return static_cast<Up&&>(t); 28 // } 29 29 30 30 #else 31 31