Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoinUtility.hpp
Go to the documentation of this file.
1 /* $Id: CoinUtility.hpp 1372 2011-01-03 23:31:00Z lou $ */
2 // Copyright (C) 2004, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef CoinUtility_h_
7 #define CoinUtility_h_
8 
9 #include "CoinSort.hpp"
10 
11 template <typename S, typename T>
12 CoinPair<S,T> CoinMakePair(const S& s, const T& t)
13 { return CoinPair<S,T>(s, t); }
14 
15 template <typename S, typename T, typename U>
16 CoinTriple<S,T,U> CoinMakeTriple(const S& s, const T& t, const U& u)
17 { return CoinTriple<S,T,U>(s, t, u); }
18 
19 #endif
CoinPair< S, T > CoinMakePair(const S &s, const T &t)
Definition: CoinUtility.hpp:12
An ordered pair.
Definition: CoinSort.hpp:30
CoinTriple< S, T, U > CoinMakeTriple(const S &s, const T &t, const U &u)
Definition: CoinUtility.hpp:16