Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::conditional< Condition, TrueType, FalseType > Class Template Reference

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.
 

Detailed Description

template<bool Condition, typename TrueType, typename FalseType>
class std::conditional< Condition, TrueType, FalseType >

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.

Template Parameters
ConditionThe condition
TrueTypeThe type to use if the condition is true
FalseTypeThe type to use if the condition is false

Member Typedef Documentation

◆ type

template<bool Condition, typename TrueType, typename FalseType>
using std::conditional< Condition, TrueType, FalseType >::type = FalseType

The selected type.


The documentation for this class was generated from the following file: