- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# CoinPair< S, T > Struct Template Reference

An ordered pair. More...

`#include <CoinSort.hpp>`

Collaboration diagram for CoinPair< S, T >:

[legend]
List of all members.

## Public Member Functions
| CoinPair (const S &s, const T &t)
| Construct from ordered pair.
## Public Attributes
S | first
| First member of pair.
T | 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 22 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 30 of file CoinSort.hpp.

## Member Data Documentation

template<class S, class T>

S CoinPair< S, T >::first

First member of pair.

Definition at line 25 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 27 of file CoinSort.hpp.

The documentation for this struct was generated from the following file:

- /home/coin/SVN-release/Cgl-0.55.0/CoinUtils/src/CoinSort.hpp