|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Reflection/TypeInfo.hpp>
Public Member Functions | |
| virtual void | move (void *target, void *source) const =0 |
Moves the object from source to target. | |
Protected Member Functions | |
| ~MovableTypeTrait ()=default | |
|
protecteddefault |
|
pure virtual |
Moves the object from source to target.
| target | The memory address to initialize a copy of the object. This must point to a memory address with at least size bytes and uninitialized. |
| source | The memory address to copy from. Must point to an initialized object of the same type. |
nullptr if the type is not move constructible. Implemented in CeresEngine::ReferenceTypeInfo, CeresEngine::PointerTypeInfo, CeresEngine::ConstTypeInfo, CeresEngine::ArrayTypeInfo, CeresEngine::MemberPointerTypeInfo, CeresEngine::PrimitiveTypeInfo, CeresEngine::NullTypeInfo, and CeresEngine::ByteTypeInfo.