repo.or.cz
/
prop.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial
[prop.git]
/
include
/
AD
/
prop
/
tuple3.h
blob
27f5dc452be20b4c73f76c21edb9cfbf791deb42
1
#ifndef prop_tuple3_h
2
#define prop_tuple3_h
3
4
template
<
class
T1
,
class
T2
,
class
T3
>
5
class
Tuple3
{
6
public
:
7
T1 _1
;
8
T2 _2
;
9
T3 _3
;
10
11
inline
Tuple3
() {}
12
inline
Tuple3
(
13
const
T1
&
x1
,
14
const
T2
&
x2
,
15
const
T3
&
x3
16
) :
17
_1
(
x1
),
18
_2
(
x2
),
19
_3
(
x3
)
20
{}
21
};
22
23
template
<
class
T1
,
class
T2
,
class
T3
>
24
inline
Tuple3
<
T1
,
T2
,
T3
>
mkTuple3
(
25
const
T1
&
x1
,
26
const
T2
&
x2
,
27
const
T3
&
x3
28
)
29
{
return
Tuple3
<
T1
,
T2
,
T3
>(
x1
,
x2
,
x3
); }
30
31
#endif