|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Reflection/TypeInfo.hpp>
Public Member Functions | |
| virtual void | construct (void *target) const =0 |
Constructs a new instance at the given target address. | |
Protected Member Functions | |
| ~ConstructibleTypeTrait ()=default | |
|
protecteddefault |
Constructs a new instance at the given target address.
| target | A pointer to the raw memory where the object is stored on. |
nullptr if the type is not default constructible. Implemented in CeresEngine::ReferenceTypeInfo, CeresEngine::PointerTypeInfo, CeresEngine::ConstTypeInfo, CeresEngine::ArrayTypeInfo, CeresEngine::MemberPointerTypeInfo, CeresEngine::PrimitiveTypeInfo, CeresEngine::NullTypeInfo, and CeresEngine::ByteTypeInfo.