template <bool kCondition, typename TypeOnTrue, typename TypeOnFalse>
struct Conditional
Defined at line 177 of file ../../third_party/openthread/src/core/common/type_traits.hpp
Selects between two given types based on a boolean condition at compile time.
It provides member type named `Type` which is defined as `TypeOnTrue` if `kCondition` is `true` at compile time, or
as `TypeOnFalse` if `kCondition` is `false`.
Template Parameters
kCondition The boolean condition which is used to select between the two types.
TypeOnTrue The type to select when `kCondition` is `true`.
TypeOnFalse The type to select when `kCondition` is `false`.