kblib 0.2.3
General utilities library for modern C++
|
Implements type erasure for move construction. More...
#include <kblib/poly_obj.h>
Public Member Functions | |
default_move () noexcept=default | |
Constructs an object which does nothing. More... | |
template<typename T > | |
default_move (T *) noexcept | |
Constructs an object which can move a T. More... | |
auto | move (void *dest, Obj *from) noexcept(nothrow) -> Obj * |
Moves an object of previously-established type. More... | |
Implements type erasure for move construction.
Definition at line 305 of file poly_obj.h.
|
defaultnoexcept |
Constructs an object which does nothing.
|
inlineexplicitnoexcept |
Constructs an object which can move a T.
Definition at line 320 of file poly_obj.h.
|
inlinenoexcept |
Moves an object of previously-established type.
Definition at line 324 of file poly_obj.h.