first_type | pair | See below. |
second | type pair | See below. |
pair() | pair | The default constructor. See below. |
pair(const first_type&, const second_type&) | pair | The pair constructor. See below. |
pair(const pair&) | Assignable | The copy constructor |
pair& operator=(const pair&) | Assignable | The assignment operator |
first | pair | See below. |
second | pair | See below. |
bool operator==(const pair&, const pair&) | pair | See below. |
bool operator<(const pair&, const pair&) | pair | See below. |
template <class T1, class T2> pair<T1, T2> make_pair(const T1&, const T2&) | pair | See below. |
These members are not defined in the Assignable requirements, but are specific to
Member | Description |
---|---|
first_type | The type of the pair's first component. This is a |
second_type | The type of the pair's second component. This is a |
pair() | The default constructor. It uses constructs objects of types |
pair(const first_type& x, const second_type& y) | The pair constructor. Constructs a pair such that |
first | Public member variable of type |
second | Public member variable of type |
template <class T1, class T2> bool operator==(const pair<T1,T2>& x, const |
Вы читаете Standard Template Library Programmer's Guide