57 #ifndef CARTOBASE_SMART_SCOPEDPTR_H 58 #define CARTOBASE_SMART_SCOPEDPTR_H 75 #ifndef DOXYGEN_HIDE_INTERNAL_CLASSES 79 void operator delete(
void* );
80 void operator delete[](
void* );
88 #if __cplusplus >= 201103L 93 scoped_ptr( std::unique_ptr<U>&& r ) : pointee( r.release() )
98 scoped_ptr( std::auto_ptr<U> r ) : pointee( r.release() )
132 #ifndef DOXYGEN_HIDE_INTERNAL_CLASSES 149 #if __cplusplus >= 201103L 154 #if __cplusplus >= 201103L 164 template <
typename T>
Holds a temporary object pointer in a scope.
scoped_ptr(std::auto_ptr< U > r)