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.
New members

These members are not defined in the Assignable requirements, but are specific to pair.

Member Description
first_type The type of the pair's first component. This is a typedef for the template parameter T1
second_type The type of the pair's second component. This is a typedef for the template parameter T2
pair() The default constructor. It uses constructs objects of types T1 and T2 using their default constructors. This constructor may only be used if both T1 and T2 are DefaultConstructible.
pair(const first_type& x, const second_type& y) The pair constructor. Constructs a pair such that first is constructed from x and second is constructed from y.
first Public member variable of type first_type: the first object stored in the pair.
second Public member variable of type second_type: The second object stored in the pair.
template <class T1, class T2> bool operator==(const pair<T1,T2>& x, const
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату