Typedef ripple::array_value_enable_t¶
Typedef Documentation¶
-
template<typename
T
, typenameImpl
, typenameType
= std::decay_t<T>, typenameValue
= typename ArrayTraits<Impl>::Value>
usingripple
::
array_value_enable_t
= std::enable_if_t<(std::is_same_v<Type, Value> || std::is_convertible_v<Type, Value>) && !is_array_v<Type>, int>¶ Defines a valid type if the type T is either the same as the value type of the array implementation Impl, or convertible to the value type.
- Template Parameters
T
: The type to base the enable on.Impl
: The array implementation to get the value type from.