Bromeon
thor::VirtualClone< T > Struct Template Reference

CopiedPtr policy that calls a virtual Clone() function. More...

List of all members.


Detailed Description

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

CopiedPtr policy that calls a virtual Clone() function.

Clones an instance through a polymorphic pointer. The object must support a virtual function with signature T* Clone() const and, of course, a virtual destructor.


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