50 #ifndef SMARTPOINTER_HH
51 #define SMARTPOINTER_HH
63 #if ( (__cplusplus >= 201103L) || (__STDC_VERSION__ >= 201112L) )
67 #define ACG_UNIQUE_POINTER_SUPPORTED 1
68 #elif defined(__GXX_EXPERIMENTAL_CXX0X__)
72 #define ACG_UNIQUE_POINTER_SUPPORTED 1
75 #if (_MSC_VER >= 1600)
79 #define ACG_UNIQUE_POINTER_SUPPORTED 1
80 #elif (_MSC_VER >= 1500)
84 namespace ptr = std::tr1;
85 #define ACG_UNIQUE_POINTER_SUPPORTED 0
87 #pragma warning "TR1 not available! Please install Visual Studio Service Pack 1!"
92 #if defined(__clang_major__) && (__clang_major__ >= 5) && !defined(__GLIBCXX__ )
98 namespace ptr = std::tr1;
100 #define ACG_UNIQUE_POINTER_SUPPORTED 0
106 #endif // SMARTPOINTER_HH defined