simple.cc - generated code example
[prop.git] / include / AD / prop / tuple9.h
blob1d129145a30250938bf99bd641cb0b8eaee18f4b
1 #ifndef prop_tuple9_h
2 #define prop_tuple9_h
4 template <class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9>
5 class Tuple9 {
6 public:
7 T1 _1;
8 T2 _2;
9 T3 _3;
10 T4 _4;
11 T5 _5;
12 T6 _6;
13 T7 _7;
14 T8 _8;
15 T9 _9;
17 inline Tuple9() {}
18 inline Tuple9(
19 const T1& x1,
20 const T2& x2,
21 const T3& x3,
22 const T4& x4,
23 const T5& x5,
24 const T6& x6,
25 const T7& x7,
26 const T8& x8,
27 const T9& x9
28 ) :
29 _1(x1),
30 _2(x2),
31 _3(x3),
32 _4(x4),
33 _5(x5),
34 _6(x6),
35 _7(x7),
36 _8(x8),
37 _9(x9)
41 template <class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9>
42 inline Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> mkTuple9(
43 const T1& x1,
44 const T2& x2,
45 const T3& x3,
46 const T4& x4,
47 const T5& x5,
48 const T6& x6,
49 const T7& x7,
50 const T8& x8,
51 const T9& x9
53 { return Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>(x1, x2, x3, x4, x5, x6, x7, x8, x9); }
55 #endif