Files
Upsilon/libaxx/include/utility
Émilie Feral 11d0ad31cf [poincare] Fix implementation of utility
Change-Id: If13237893a1ded53560e53cca51146befcf424bf
2017-09-29 16:34:46 +02:00

17 lines
393 B
Plaintext

#ifndef LIBAXX_UTILITY
#define LIBAXX_UTILITY
namespace std {
template <class T> struct remove_reference {typedef T type;};
template <class T> struct remove_reference<T&> {typedef T type;};
template <class T> struct remove_reference<T&&> {typedef T type;};
template <class T> typename remove_reference<T>::type&& move(T&& a) {
return (typename remove_reference<T>::type&&)a;
}
}
#endif