fennec
Loading...
Searching...
No Matches
fennec::conditional< B, TrueT, FalseT >

select between two types based on a condition More...

Detailed Description

template<bool B, typename TrueT, typename FalseT>
struct fennec::conditional< B, TrueT, FalseT >

Selects between TrueT and FalseT based on the boolean value b. The chosen type is stored in conditional::type.

Template Parameters
Bthe value of the condition
TrueTtype to use when \(B == true\)
FalseTtype to use when \(B == false\)

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