This class adds a virtual copy constructor to child classes.
More...
#include <clonable.h>
Inherits LibGeoDecomp::BASE.
List of all members.
Public Member Functions |
| Clonable () |
| these c-tors simply delegate to the BASE type, which includes the default c-tor, sans parameters.
|
template<typename T1 > |
| Clonable (const T1 &p1) |
template<typename T1 , typename T2 > |
| Clonable (const T1 &p1, const T2 &p2) |
template<typename T1 , typename T2 , typename T3 > |
| Clonable (const T1 &p1, const T2 &p2, const T3 &p3) |
BASE * | clone () const |
Friends |
class | Serialization |
Detailed Description
template<typename BASE, typename IMPLEMENTATION>
class LibGeoDecomp::Clonable< BASE, IMPLEMENTATION >
This class adds a virtual copy constructor to child classes.
It's implemented using CRTP.
Constructor & Destructor Documentation
template<typename BASE, typename IMPLEMENTATION>
these c-tors simply delegate to the BASE type, which includes the default c-tor, sans parameters.
template<typename BASE, typename IMPLEMENTATION>
template<typename T1 >
template<typename BASE, typename IMPLEMENTATION>
template<typename T1 , typename T2 >
template<typename BASE, typename IMPLEMENTATION>
template<typename T1 , typename T2 , typename T3 >
Member Function Documentation
template<typename BASE, typename IMPLEMENTATION>
Friends And Related Function Documentation
template<typename BASE, typename IMPLEMENTATION>
friend class Serialization [friend] |
The documentation for this class was generated from the following file: