LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
remove_reference.hpp
1 #ifndef RHESUS_REMOVE_REFERENCE_H_
2 #define RHESUS_REMOVE_REFERENCE_H_
3 
4 namespace Rhesus
5 {
6 namespace Toolkit
7 {
8 namespace Utilities
9 {
10  template< class T > struct remove_reference {typedef T type;};
11  template< class T > struct remove_reference<T&> {typedef T type;};
12 
13 #ifdef RHESUS_HAS_CPP11
14  template< class T > struct remove_reference<T&&> {typedef T type;};
15 #endif
16 }
17 }
18 }
19 
20 #endif