gtPair
template<typename Type1, typename Type2> class

Объект хранящий два других объекта.

Конструкторы
gtPair( Type1 first, Type2 second )

gtPair( Type1 first, Type2 second, bool(*pred)(const_reference This, const_reference Other) )
Для того, чтобы работало сравнение (<= и т.д.) нужно указать функцию сравнения.


Открытые члены.
Type1 m_first;
Type2 m_second;

Операторы
gtPair::operator=
reference operator=( const_reference o )
Присвоение.

gtPair::operator<=
bool operator<=( const_reference o ) const
Сравнение.

gtPair::operator>=
bool operator>=( const_reference o ) const
Сравнение.

gtPair::operator>
bool operator>( const_reference o ) const
Сравнение.

gtPair::operator<
bool operator<( const_reference o ) const
Сравнение.