Luna::is_type_trivially_move_constructable
bool is_type_trivially_move_constructable(typeinfo_t type)
Checks whether one type is a trivially move constructable type.
One type is trivially move constructable if:1. It is a primitive or enumeration type, or
- It is a structure or generic structure instanced type without user-provided move constructor function, and all properties of the type are trivially move constructable.
Parameters
-
in type
The type object.
Return value
Returns true
if the specified type is a trivially move constructable type. Returns false
otherwise.
Valid Usage
type
must specify one valid type object.