Код: Выделить всё
template
struct pair
: public __pair_base
{
typedef _T1 first_type; ///< The type of the `first` member
typedef _T2 second_type; ///< The type of the `second` member
_T1 first; ///< The first member
_T2 second;
...
template ::type = true>
constexpr pair()
: first(), second() { }
...
}
Код: Выделить всё
std::pair p;
Подробнее здесь: https://stackoverflow.com/questions/787 ... from-those