Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
CoinPair< S, T > Struct Template Reference

An ordered pair. More...

#include <CoinSort.hpp>

+ Collaboration diagram for CoinPair< S, T >:

Public Member Functions

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

Public Attributes

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

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: