Go to the documentation of this file.
21 #ifndef STLPLUS_SMART_PTR
22 #define STLPLUS_SMART_PTR
63 template<
typename T,
typename C,
typename COUNTER>
103 operator bool(
void)
const;
106 bool null(void)
const;
132 void set(T* data = 0);
153 inline void clear(
void);
189 template <
typename T>
201 template <
typename T>
213 template <
typename T>
227 template <
typename T,
typename COUNTER = mrpt::synch::CAtomicCounter>
242 template <
typename T,
typename COUNTER = mrpt::synch::CAtomicCounter>
257 template <
typename T,
typename COUNTER = mrpt::synch::CAtomicCounter>
bool aliases(const smart_ptr_base< T, C, COUNTER > &) const
void make_alias(void *handle)
smart_ptr_nocopy< T > & operator=(const T &data)
smart_ptr_clone(const T &data)
const typedef T & const_reference
T * operator()(const T &)
T * operator()(const T &from)
smart_ptr< T > & operator=(const T &data)
smart_ptr_nocopy< T > & operator=(const smart_ptr_nocopy< T > &r)
void alias(const smart_ptr_base< T, C, COUNTER > &)
smart_ptr_holder< T, COUNTER > * m_holder
smart_ptr_clone< T > & operator=(const smart_ptr_clone< T > &r)
unsigned alias_count(void) const
smart_ptr_clone< T > & operator=(const T &data)
void * handle(void) const
bool operator!(void) const
void copy(const smart_ptr_base< T, C, COUNTER > &)
void set_value(const T &data)
T * operator()(const T &from)
smart_ptr< T > & operator=(const smart_ptr< T > &r)
smart_ptr_nocopy(const T &data)
smart_ptr_nocopy(T *data)
Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Sat Jan 18 22:37:07 UTC 2020 | | |