class
#include <core/reflection/traits/wrapper.hpp>
WrapperTrait Describes the single field of a reflected type.
Constructors, destructors, conversion operators
- WrapperTrait(WrapperTrait&& other) noexcept
- Constructs.
-
template<typename F, typename O>WrapperTrait(F O::* pointer)
- Constructs.
Public functions
Function documentation
void* cubos:: core:: reflection:: WrapperTrait:: value(const void* instance) const
Gets a pointer to the field on a given instance of the reflected type.
Parameters | |
---|---|
instance | Pointer to the instance. |
Returns | Pointer to the field on the given instance. |