![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Helper template for selecting types based on a condition. If the supplied Condition is true then the nested type member is an alias for TrueType otherwise it is an alias for FalseType.
More...
Public Types | |
| using | type = FalseType |
| The selected type. | |
Helper template for selecting types based on a condition. If the supplied Condition is true then the nested type member is an alias for TrueType otherwise it is an alias for FalseType.
| Condition | The condition |
| TrueType | The type to use if the condition is true |
| FalseType | The type to use if the condition is false |
| using std::conditional< Condition, TrueType, FalseType >::type = FalseType |
The selected type.