Component-private base holding and constructing a pair's first member.
Declared in <bslstl_pair.h>
template<class TYPE>
struct Pair_First;
This component-private class holds the first data member of a pair and constructs it appropriately. Note the partial specializations below for the cases that (template parameter) 'TYPE' is a reference.
| Name | Description |
|---|---|
Pair_First [constructor] | Constructors |
| Name | Description |
|---|---|
first | First element of the pair. |
| Name | Description |
|---|---|
Pair_First<TYPE&> | Component-private base holding a pair's first member by lvalue reference. |
Pair_First<TYPE&&> | Component-private base holding a pair's first member by rvalue reference. |
| Name | Description |
|---|---|
pair | A pair of public data members, first and second, that supports bslma allocators. |