39 if (
this == &o)
return *
this;
44 #if (__cplusplus>199711L)
49 if (
this == &o)
return *
this;
Smart pointer for non-polymorphic classes.
copy_ptr(T *ptr)
Ctor from a pointer; takes ownership.
copy_ptr()
Default ctor; init to nullptr.
copy_ptr(const copy_ptr< T > &o)
copy ctor: makes a copy of the object via clone()
copy_ptr< T > & operator=(const copy_ptr< T > &o)
copy operator
internal::generic_copier_ptr< T, internal::CopyStatic< T > > ptr_base_t
internal::CopyStatic< T > copier_t
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.