Clp 1.17.6

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

- File List
- File Members

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 2083 2019-01-06 19:38:09Z unxusr $ */
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 {
14 return CoinPair< S, T >(s, t);
15 }
16
17 template < typename S, typename T, typename U >
18 CoinTriple< S, T, U > CoinMakeTriple(const S &s, const T &t, const U &u)
19 {
20 return CoinTriple< S, T, U >(s, t, u);
21 }
22
23 #endif
24
25 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
26 */
CoinMakePair
CoinPair< S, T > CoinMakePair(const S &s, const T &t)
Definition: CoinUtility.hpp:12
CoinPair
An ordered pair.
Definition: CoinSort.hpp:30
CoinTriple
Definition: CoinSort.hpp:509
CoinSort.hpp
CoinMakeTriple
CoinTriple< S, T, U > CoinMakeTriple(const S &s, const T &t, const U &u)
Definition: CoinUtility.hpp:18