#include <allocatingpointer.h>
Inheritance diagram for CopyUsingClone< T >:
Calls the nominal types' clone() operation, which if virtual and implemented in all derived types will construct a clone object of the actual type instead of the nominal type. This makes it possible to work with unknown derived classes. Of course, to be able to use this class, type T must support such a clone() operation.
Definition at line 33 of file allocatingpointer.h.
Public Methods | |
T * | operator() (const T &value) |