bsl::Pair_Second<TYPE&>

This component-private class holds the second data member of a pair when that member is an lvalue-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.

Synopsis

Declared in <bslstl_pair.h>

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

Protected Member Functions

NameDescription
Pair_Second [constructor]Constructors
operator= Assign to the object bound to second the value of the object bound to 'rhs.second', and return a reference offering modifiable access to this object. Note that this operations assigns through the reference, it does not rebind the reference.

Protected Data Members

Name
second