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