CoinUtils
2.11.10
Loading...
Searching...
No Matches
CoinUtils
src
CoinUtility.hpp
Go to the documentation of this file.
1
/* $Id$ */
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
*/
CoinSort.hpp
CoinMakeTriple
CoinTriple< S, T, U > CoinMakeTriple(const S &s, const T &t, const U &u)
Definition
CoinUtility.hpp:18
CoinMakePair
CoinPair< S, T > CoinMakePair(const S &s, const T &t)
Definition
CoinUtility.hpp:12
CoinPair
An ordered pair.
Definition
CoinSort.hpp:30
Generated by
1.10.0