List of all members
aurora::VirtualClone< T > Struct Template Reference

Cloner that invokes a member function clone(). More...

Detailed Description

template<typename T>
struct aurora::VirtualClone< T >

Cloner that invokes a member function clone().

clone() shall be a virtual function with the signature C* C::clone() const, where C is the class type. The returned pointer has to point to a new copy of the object on which clone() is invoked. In case you do not call the new operator to allocate the copy, make sure you also use a corresponding deleter in CopiedPtr.


The documentation for this struct was generated from the following file: