23 #ifndef O2SCL_SHARED_PTR_H
24 #define O2SCL_SHARED_PTR_H
30 #ifndef DOXYGEN_NO_O2NS
62 typedef std::tr1::shared_ptr<T>
type;
67 #ifndef DOXYGEN_NO_O2NS
78 #ifndef O2SCL_NO_TR1_MEMORY
82 template<
class T>
struct o2_shared_ptr {
83 typedef std::tr1::shared_ptr<T>
type;
89 #include <boost/shared_ptr.hpp>
91 template<
class T>
struct o2_shared_ptr {
92 typedef boost::shared_ptr<T>
type;
std::tr1::shared_ptr< T > type
The actual shared_ptr type.
A struct to provide the shared_ptr type.