# 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 30 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 38 of file CoinSort.hpp.

## Member Data Documentation

template<class S, class T>

S CoinPair< S, T >::first

First member of pair.

Definition at line 33 of file CoinSort.hpp.

template<class S, class T>

T CoinPair< S, T >::second

Second member of pair.

Definition at line 35 of file CoinSort.hpp.

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

- /home/coin/svn-release/Smi-0.93.1/CoinUtils/src/CoinSort.hpp