This partial specialization is used when the list of alternatives t_HEAD, t_TAIL... is empty, i.e., t_TYPE wasn't found in the originally supplied list of alternatives.
Declared in <bslstl_variant.h>
template<
size_t t_INDEX,
class t_TYPE>
struct Variant_TypeToIndexImpl<t_INDEX, t_TYPE, BSLSTL_VARIANT_NOT_A_TYPE>
: bsl::integral_constant<size_t, bsl::variant_npos>
| Name | Description |
|---|---|
bsl::integral_constant<size_t, bsl::variant_npos> | Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |