Component‐private base holding a pair's second member by rvalue reference.

Synopsis

Declared in <bslstl_pair.h>

template<class TYPE>
struct Pair_Second<TYPE&&>;

Description

This component‐private class holds the second data member of a pair when that member is an rvalue‐reference. Note that the C++ Standard defines the assignment operator to assign through the reference in this case, where the implicitly declared assignment operator would be deleted.

Protected Member Functions

Name

Description

Pair_Second [constructor]

Constructors

operator=

Assign through the second reference from rhs.second.

Protected Data Members

Name

Description

second

The second element of the pair, held by rvalue reference.

Created with MrDocs