ESA JPIP server  0.1
tr1_compat.h
Go to the documentation of this file.
1 #ifndef _TR1_COMPAT_H_
2 #define _TR1_COMPAT_H_
3 
4 #ifndef _USE_BOOST
5 #if (__cplusplus >= 201103L) || defined(_NO_TR1)
6  #include <memory>
7  #define SHARED_PTR std::shared_ptr
8 #else
9  #include <tr1/memory>
10  #define SHARED_PTR std::tr1::shared_ptr
11 #endif
12 #else
13  #include <boost/tr1/memory.hpp>
14 #endif
15 
16 #endif