BloombergLP::bslstl::Pair_GetImpUtil

This utility class template provides functions for selecting the element of pair, returned from bsl::get(bsl::pair<T1, T2>), by its index.

Synopsis

Declared in <bslstl_pair.h>

template<
    std::size_t INDEX,
    class T1,
    class T2>
struct Pair_GetImpUtil;

Specializations

NameDescription
Pair_GetImpUtil<0, T1, T2> This partial specialization of Pair_GetImpUtil, for when the (template parameter) INDEX(element's index) is equal to 0.
Pair_GetImpUtil<1U, T1, T2> This partial specialization of Pair_GetImpUtil, for when the (template parameter) INDEX(element's index) is equal to 1.