This partial specialization of Pair_IndexOfType returns the index of first element of pair.

Synopsis

Declared in <bslstl_pair.h>

template<
    class T1,
    class T2>
struct Pair_IndexOfType<T1, T1, T2>
    : bsl::integral_constant<size_t, 0>

Base Classes

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.

Type Aliases

Name

Description

type

Alias for this integral_constant specialization.

Member Functions

Name

Description

operator()

Return a copy of the template argument t_VALUE.

Created with MrDocs