|
LiteFX 0.4.1.2025
Computer Graphics Engine
|
Contains type traits and meta-programming features for compile-time evaluation. More...
Classes | |
| struct | has_builder_t |
| Trait that is evaluated, if a class does not have an builder member type defined. More... | |
| struct | has_builder_t< T, std::void_t< typename T::builder > > |
| Trait that is evaluated, if a class does have an builder member type defined. More... | |
| struct | is_explicitly_constructible_t |
Evaluates to either true or false, if T can be constructed using the provided arguments, whilst not being able to be converted from TArg . More... | |
| struct | is_implicitly_constructible_t |
Evaluates to either true or false, if T can be constructed using the provided arguments and at the same time can also be converted from TArg . More... | |
Concepts | |
| concept | has_builder |
| Checks if a type contains a builder. | |
| concept | is_explicitly_constructible |
| Checks if a type can be constructed using the provided arguments, whilst not being able to be converted from TArg . | |
| concept | is_implicitly_constructible |
| Checks if a type can be constructed using the provided arguments and at the same time can also be converted from TArg . | |
| concept | implements |
| Checks if a type TDerived is derived from another type TBase and is non-abstract. | |
| concept | are_same |
| Checks if a set of types are all equal to the type T . | |
Variables | |
| template<class T > | |
| constexpr bool | has_builder_v = has_builder_t<T>::value |
Evaluates to either true or false, if T contains an builder member definition. | |
| template<typename T , typename TArg , typename ... TArgs> | |
| constexpr bool | is_explicitly_constructible_v = is_explicitly_constructible_t<T, TArg, TArgs...>::value |
Evalues to true or false, depending if T contains an explicit constructor that takes TArg and TArgs as arguments. | |
| template<typename T , typename TArg , typename ... TArgs> | |
| constexpr bool | is_implicitly_constructible_v = is_explicitly_constructible_t<T, TArg, TArgs...>::value |
Evalues to true or false, depending if T contains an implicit constructor that takes TArg and TArgs as arguments. | |
Contains type traits and meta-programming features for compile-time evaluation.
|
constexpr |
Evaluates to either true or false, if T contains an builder member definition.
| T | The type to check for an builder. |
|
constexpr |
Evalues to true or false, depending if T contains an explicit constructor that takes TArg and TArgs as arguments.
| T | The type to check. |
| TArg | The parameter to check for conversion support. |
| ...TArgs | The remaining constructor parameters. |
|
constexpr |
Evalues to true or false, depending if T contains an implicit constructor that takes TArg and TArgs as arguments.
| T | The type to check. |
| TArg | The parameter to check for conversion support. |
| ...TArgs | The remaining constructor parameters. |