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.
Synopsis
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>
Base Classes
Name |
Description |
|
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Alias for this |
Member Functions
Name |
Description |
Return a copy of the template argument |
Created with MrDocs