template<typename T>
cubos::core::reflection::ConstructibleTrait::Builder class

Builder for ConstructibleTrait.

Constructors, destructors, conversion operators

Builder()
Constructs.

Public functions

auto build() && -> ConstructibleTrait
Returns the constructed trait.
auto withDefaultConstructor() && -> Builder&&
Sets the default constructor of the type.
auto withCopyConstructor() && -> Builder&&
Sets the copy constructor of the type.
auto withMoveConstructor() && -> Builder&&
Sets the move constructor of the type.
auto withBasicConstructors() && -> Builder&&
Sets the default, copy and move constructors of the type.

Function documentation

template<typename T>
ConstructibleTrait cubos::core::reflection::ConstructibleTrait::Builder<T>::build() &&

Returns the constructed trait.

Returns Constructed trait.

template<typename T>
Builder&& cubos::core::reflection::ConstructibleTrait::Builder<T>::withDefaultConstructor() &&

Sets the default constructor of the type.

Returns Builder.

template<typename T>
Builder&& cubos::core::reflection::ConstructibleTrait::Builder<T>::withCopyConstructor() &&

Sets the copy constructor of the type.

Returns Builder.

template<typename T>
Builder&& cubos::core::reflection::ConstructibleTrait::Builder<T>::withMoveConstructor() &&

Sets the move constructor of the type.

Returns Builder.

template<typename T>
Builder&& cubos::core::reflection::ConstructibleTrait::Builder<T>::withBasicConstructors() &&

Sets the default, copy and move constructors of the type.

Returns Builder.