bsl::Pair_Second

Component-private base holding and constructing a pair's second member.

Synopsis

Declared in <bslstl_pair.h>

template<class TYPE>
struct Pair_Second;

Description

This component-private class holds the second data member of a pair and constructs it appropriately. Note the partial specializations below for the cases that (template parameter) 'TYPE' is a reference.

Protected Member Functions

NameDescription
Pair_Second [constructor]Constructors

Protected Data Members

NameDescription
second Second element of the pair.

Specializations

NameDescription
Pair_Second<TYPE&> Component-private base holding a pair's second member by lvalue reference.
Pair_Second<TYPE&&> Component-private base holding a pair's second member by rvalue reference.

Derived Classes

NameDescription
pair A pair of public data members, first and second, that supports bslma allocators.