kblib 0.2.3
General utilities library for modern C++
|
Implements copy construction using a virtual clone method. This type is provided mostly as an example. More...
#include <kblib/poly_obj.h>
Public Member Functions | |
clone_copy ()=default | |
Does nothing. More... | |
template<typename T > | |
clone_copy (T *) | |
Does nothing. More... | |
auto | copy (void *dest, const Obj *from) -> Obj * |
Invokes the clone method to copy the object. More... | |
Implements copy construction using a virtual clone method. This type is provided mostly as an example.
Definition at line 291 of file poly_obj.h.
|
default |
Does nothing.
Does nothing.
Definition at line 296 of file poly_obj.h.
|
inline |
Invokes the clone method to copy the object.
Definition at line 299 of file poly_obj.h.