[#BloombergLP-bslstl-Variant_TypeToIndexImpl-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_TypeToIndexImpl-0a.adoc[Variant_TypeToIndexImpl]<t_INDEX, t_TYPE, BSLSTL_VARIANT_NOT_A_TYPE> :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< size_t t_INDEX, class t_TYPE> struct xref:BloombergLP/bslstl/Variant_TypeToIndexImpl-0a.adoc[Variant_TypeToIndexImpl]<t_INDEX, t_TYPE, BSLSTL_VARIANT_NOT_A_TYPE> : xref:bsl/integral_constant-02.adoc[bsl::integral_constant<size_t, bsl::variant_npos>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/integral_constant-02.adoc[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`. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_TypeToIndexImpl-07/type.adoc[`type`] | Alias for this `integral_constant` specialization. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_TypeToIndexImpl-07/operator_call.adoc[`operator()`] | Return a copy of the template argument `t_VALUE`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#