Chris@16
|
1 /*=============================================================================
|
Chris@16
|
2 Copyright (c) 2001-2011 Joel de Guzman
|
Chris@16
|
3
|
Chris@16
|
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6
|
Chris@16
|
7 This is an auto-generated file. Do not edit!
|
Chris@16
|
8 ==============================================================================*/
|
Chris@16
|
9 namespace boost { namespace fusion
|
Chris@16
|
10 {
|
Chris@16
|
11 struct nil_;
|
Chris@16
|
12 struct void_;
|
Chris@16
|
13 template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9>
|
Chris@16
|
14 struct list
|
Chris@16
|
15 : detail::list_to_cons<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>::type
|
Chris@16
|
16 {
|
Chris@16
|
17 private:
|
Chris@16
|
18 typedef
|
Chris@16
|
19 detail::list_to_cons<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>
|
Chris@16
|
20 list_to_cons;
|
Chris@16
|
21 public:
|
Chris@16
|
22 typedef typename list_to_cons::type inherited_type;
|
Chris@16
|
23 list()
|
Chris@16
|
24 : inherited_type() {}
|
Chris@16
|
25 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
|
Chris@16
|
26 list(list<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9> const& rhs)
|
Chris@16
|
27 : inherited_type(rhs) {}
|
Chris@16
|
28 template <typename Sequence>
|
Chris@16
|
29 list(Sequence const& rhs)
|
Chris@16
|
30 : inherited_type(rhs) {}
|
Chris@16
|
31
|
Chris@16
|
32
|
Chris@16
|
33
|
Chris@16
|
34
|
Chris@16
|
35
|
Chris@16
|
36
|
Chris@16
|
37
|
Chris@16
|
38 explicit
|
Chris@16
|
39 list(typename detail::call_param<T0 >::type _0)
|
Chris@16
|
40 : inherited_type(list_to_cons::call(_0))
|
Chris@16
|
41 {}
|
Chris@16
|
42 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1)
|
Chris@16
|
43 : inherited_type(list_to_cons::call(_0 , _1))
|
Chris@16
|
44 {}
|
Chris@16
|
45 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2)
|
Chris@16
|
46 : inherited_type(list_to_cons::call(_0 , _1 , _2))
|
Chris@16
|
47 {}
|
Chris@16
|
48 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3)
|
Chris@16
|
49 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3))
|
Chris@16
|
50 {}
|
Chris@16
|
51 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4)
|
Chris@16
|
52 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4))
|
Chris@16
|
53 {}
|
Chris@16
|
54 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4 , typename detail::call_param<T5 >::type _5)
|
Chris@16
|
55 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4 , _5))
|
Chris@16
|
56 {}
|
Chris@16
|
57 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4 , typename detail::call_param<T5 >::type _5 , typename detail::call_param<T6 >::type _6)
|
Chris@16
|
58 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4 , _5 , _6))
|
Chris@16
|
59 {}
|
Chris@16
|
60 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4 , typename detail::call_param<T5 >::type _5 , typename detail::call_param<T6 >::type _6 , typename detail::call_param<T7 >::type _7)
|
Chris@16
|
61 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7))
|
Chris@16
|
62 {}
|
Chris@16
|
63 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4 , typename detail::call_param<T5 >::type _5 , typename detail::call_param<T6 >::type _6 , typename detail::call_param<T7 >::type _7 , typename detail::call_param<T8 >::type _8)
|
Chris@16
|
64 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8))
|
Chris@16
|
65 {}
|
Chris@16
|
66 list(typename detail::call_param<T0 >::type _0 , typename detail::call_param<T1 >::type _1 , typename detail::call_param<T2 >::type _2 , typename detail::call_param<T3 >::type _3 , typename detail::call_param<T4 >::type _4 , typename detail::call_param<T5 >::type _5 , typename detail::call_param<T6 >::type _6 , typename detail::call_param<T7 >::type _7 , typename detail::call_param<T8 >::type _8 , typename detail::call_param<T9 >::type _9)
|
Chris@16
|
67 : inherited_type(list_to_cons::call(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8 , _9))
|
Chris@16
|
68 {}
|
Chris@16
|
69 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
|
Chris@16
|
70 list&
|
Chris@16
|
71 operator=(list<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9> const& rhs)
|
Chris@16
|
72 {
|
Chris@16
|
73 inherited_type::operator=(rhs);
|
Chris@16
|
74 return *this;
|
Chris@16
|
75 }
|
Chris@16
|
76 template <typename T>
|
Chris@16
|
77 list&
|
Chris@16
|
78 operator=(T const& rhs)
|
Chris@16
|
79 {
|
Chris@16
|
80 inherited_type::operator=(rhs);
|
Chris@16
|
81 return *this;
|
Chris@16
|
82 }
|
Chris@16
|
83 };
|
Chris@16
|
84 }}
|