[#BloombergLP-bslstl-Pair_IndexOfType-006] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Pair_IndexOfType-02.adoc[Pair_IndexOfType]<T2, T1, T2> :relfileprefix: ../../ :mrdocs: This partial specialization of `Pair_IndexOfType` returns the index of second element of pair. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2> struct xref:BloombergLP/bslstl/Pair_IndexOfType-02.adoc[Pair_IndexOfType]<T2, T1, T2> : xref:bsl/integral_constant-02.adoc[bsl::integral_constant<size_t, 1U>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/integral_constant-02.adoc[bsl::integral_constant<size_t, 1U>]` | 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/Pair_IndexOfType-006/type.adoc[`type`] | Alias for this `integral_constant` specialization. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Pair_IndexOfType-006/operator_call.adoc[`operator()`] | Return a copy of the template argument `t_VALUE`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#