utility 309 B

12345678910111213141516
  1. #pragma once
  2. #include_next <utility>
  3. #if defined(HAVE_STD_MOVE) && !HAVE_STD_MOVE
  4. #include <type_traits>
  5. namespace std {
  6. template<class T>
  7. typename std::remove_reference<T>::type&& move(T&& t) noexcept
  8. {
  9. return static_cast<typename std::remove_reference<T>::type&&>(t);
  10. }
  11. }
  12. #endif