LibreOffice Module lotuswordpro (master) 1
|
Go to the source code of this file.
Classes | |
struct | detail::has_clone< T > |
struct | detail::has_clone< T >::no |
struct | detail::cloner< T, HasClone > |
struct | detail::cloner< T, true > |
Namespaces | |
namespace | detail |
Functions | |
template<typename T > | |
T * | clone (T *const other) |
Creates a new copy of the passed object. More... | |
T * clone | ( | T *const | other | ) |
Creates a new copy of the passed object.
If other is 0, just returns 0. Otherwise, if other has function named clone with signature T* (T::*)() const, the function is called. Otherwise, copy constructor is used.
Definition at line 64 of file clone.hxx.
References clone().
Referenced by clone(), and LwpPara::RegisterStyle().