Blame view

build3/libaxx/include/utility 393 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #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