This partial specialization of Pair_IndexOfType returns the index of first element of pair.
Declared in <bslstl_pair.h>
template<
class T1,
class T2>
struct Pair_IndexOfType<T1, T1, T2>
: bsl::integral_constant<size_t, 0>
| Name | Description |
|---|---|
bsl::integral_constant<size_t, 0> | 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. |