CoinPair< S, T > Struct Template Reference

An ordered pair. More...

#include <CoinSort.hpp>

Collaboration diagram for CoinPair< S, T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CoinPair (const S &s, const T &t)
 Construct from ordered pair.

Public Attributes

first
 First member of pair.
second
 Second member of pair.

Detailed Description

template<class S, class T>
struct CoinPair< S, T >

An ordered pair.

It's the same as std::pair, just this way it'll have the same look as the triple sorting.

Definition at line 21 of file CoinSort.hpp.


Constructor & Destructor Documentation

template<class S, class T>
CoinPair< S, T >::CoinPair ( const S &  s,
const T &  t 
) [inline]

Construct from ordered pair.

Definition at line 29 of file CoinSort.hpp.


Member Data Documentation

template<class S, class T>
S CoinPair< S, T >::first

First member of pair.

Definition at line 24 of file CoinSort.hpp.

Referenced by CoinExternalVectorFirstGreater_2< S, T, V >::operator()(), CoinExternalVectorFirstLess_2< S, T, V >::operator()(), CoinFirstAbsGreater_2< S, T >::operator()(), CoinFirstAbsLess_2< S, T >::operator()(), CoinFirstGreater_2< S, T >::operator()(), and CoinFirstLess_2< S, T >::operator()().

template<class S, class T>
T CoinPair< S, T >::second

Second member of pair.

Definition at line 26 of file CoinSort.hpp.


The documentation for this struct was generated from the following file:
Generated on Sun Nov 14 14:13:36 2010 for Coin-All by  doxygen 1.4.7