9 #ifndef _STRUS_BASE_SHARED_PTR_HPP_INCLUDED
10 #define _STRUS_BASE_SHARED_PTR_HPP_INCLUDED
12 #if __cplusplus >= 201103L
13 #define STRUS_USE_STD_SHARED_PTR
15 #undef STRUS_USE_STD_SHARED_PTR
18 #if defined STRUS_USE_STD_SHARED_PTR
25 :
public std::shared_ptr<X>
37 #else //STRUS_USE_STD_SHARED_PTR
39 #include <boost/shared_ptr.hpp>
44 :
public boost::shared_ptr<X>
56 #endif //STRUS_USE_STD_SHARED_PTR
shared_ptr(X *ptr)
Definition: shared_ptr.hpp:47
shared_ptr(const shared_ptr &o)
Definition: shared_ptr.hpp:49
shared_ptr()
Definition: shared_ptr.hpp:51
Definition: shared_ptr.hpp:43