Luna::GenericStructureInstantiateInfo
Describes the information of one generic structure instantiation operation.
struct Luna::GenericStructureInstantiateInfo
This is returned by the instantiation callback function when one new generic structure instanced type is required.
Member objects
-
The size of the structure type, this should include the size for the base type of this type.
-
The alignment of the structure type.
-
The base type of this structure type.
-
The constructor function for this type. If
nullptr
, the default constructor will be used. -
The destructor function for this type. If
nullptr
, the default destructor will be used. -
structure_copy_ctor_t* copy_ctor
The copy constructor for this type. If
nullptr
, the default copy constructor will be used. -
structure_move_ctor_t* move_ctor
The move constructor for this type. If
nullptr
, the default move constructor will be used. -
structure_copy_assign_t* copy_assign
The copy assignment operator for this type. If
nullptr
, the default copy assignment operator will be used. -
structure_move_assign_t* move_assign
The mvoe assignment operator for this type. If
nullptr
, the default move assignment operator will be used. -
The properties of this structure type.
-
Whether this structure is trivially relocatable.