]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2001-2011 Joel de Guzman | |
3 | ||
4 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | ||
7 | This is an auto-generated file. Do not edit! | |
8 | ==============================================================================*/ | |
9 | namespace boost { namespace fusion { namespace detail | |
10 | { | |
11 | template<typename Key, typename Value, typename Rest> | |
12 | struct keyed_element; | |
13 | struct nil_keyed_element; | |
14 | template<typename N, typename T0 = void_ , typename T1 = void_ , typename T2 = void_ , typename T3 = void_ , typename T4 = void_ , typename T5 = void_ , typename T6 = void_ , typename T7 = void_ , typename T8 = void_ , typename T9 = void_> | |
15 | struct deque_keyed_values_impl; | |
16 | template<typename N> | |
17 | struct deque_keyed_values_impl<N, void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> | |
18 | { | |
19 | typedef nil_keyed_element type; | |
20 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
21 | static type construct() | |
22 | { | |
23 | return type(); | |
24 | } | |
25 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
26 | static type forward_() | |
27 | { | |
28 | return type(); | |
29 | } | |
30 | }; | |
31 | template<typename N, typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9> | |
32 | struct deque_keyed_values_impl | |
33 | { | |
34 | typedef mpl::int_<mpl::plus<N, mpl::int_<1> >::value> next_index; | |
35 | typedef typename deque_keyed_values_impl< | |
36 | next_index, | |
37 | T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>::type tail; | |
38 | typedef keyed_element<N, T0, tail> type; | |
39 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
40 | static type construct(typename detail::call_param<T0 >::type t0) | |
41 | { | |
42 | return type(t0, | |
43 | deque_keyed_values_impl< | |
44 | next_index | |
45 | >::construct()); | |
46 | } | |
47 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
48 | template <typename T_0> | |
49 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
50 | static type forward_(T_0 && t0) | |
51 | { | |
52 | return type(std::forward<T_0>( t0), | |
53 | deque_keyed_values_impl< | |
54 | next_index | |
55 | >::forward_()); | |
56 | } | |
57 | # endif | |
58 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
59 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1) | |
60 | { | |
61 | return type(t0, | |
62 | deque_keyed_values_impl< | |
63 | next_index | |
64 | , T1 | |
65 | >::construct(t1)); | |
66 | } | |
67 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
68 | template <typename T_0 , typename T_1> | |
69 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
70 | static type forward_(T_0 && t0 , T_1 && t1) | |
71 | { | |
72 | return type(std::forward<T_0>( t0), | |
73 | deque_keyed_values_impl< | |
74 | next_index | |
75 | , T_1 | |
76 | >::forward_(std::forward<T_1>( t1))); | |
77 | } | |
78 | # endif | |
79 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
80 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2) | |
81 | { | |
82 | return type(t0, | |
83 | deque_keyed_values_impl< | |
84 | next_index | |
85 | , T1 , T2 | |
86 | >::construct(t1 , t2)); | |
87 | } | |
88 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
89 | template <typename T_0 , typename T_1 , typename T_2> | |
90 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
91 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2) | |
92 | { | |
93 | return type(std::forward<T_0>( t0), | |
94 | deque_keyed_values_impl< | |
95 | next_index | |
96 | , T_1 , T_2 | |
97 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2))); | |
98 | } | |
99 | # endif | |
100 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
101 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3) | |
102 | { | |
103 | return type(t0, | |
104 | deque_keyed_values_impl< | |
105 | next_index | |
106 | , T1 , T2 , T3 | |
107 | >::construct(t1 , t2 , t3)); | |
108 | } | |
109 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
110 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3> | |
111 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
112 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3) | |
113 | { | |
114 | return type(std::forward<T_0>( t0), | |
115 | deque_keyed_values_impl< | |
116 | next_index | |
117 | , T_1 , T_2 , T_3 | |
118 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3))); | |
119 | } | |
120 | # endif | |
121 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
122 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4) | |
123 | { | |
124 | return type(t0, | |
125 | deque_keyed_values_impl< | |
126 | next_index | |
127 | , T1 , T2 , T3 , T4 | |
128 | >::construct(t1 , t2 , t3 , t4)); | |
129 | } | |
130 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
131 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4> | |
132 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
133 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4) | |
134 | { | |
135 | return type(std::forward<T_0>( t0), | |
136 | deque_keyed_values_impl< | |
137 | next_index | |
138 | , T_1 , T_2 , T_3 , T_4 | |
139 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4))); | |
140 | } | |
141 | # endif | |
142 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
143 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4 , typename detail::call_param<T5 >::type t5) | |
144 | { | |
145 | return type(t0, | |
146 | deque_keyed_values_impl< | |
147 | next_index | |
148 | , T1 , T2 , T3 , T4 , T5 | |
149 | >::construct(t1 , t2 , t3 , t4 , t5)); | |
150 | } | |
151 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
152 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4 , typename T_5> | |
153 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
154 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4 , T_5 && t5) | |
155 | { | |
156 | return type(std::forward<T_0>( t0), | |
157 | deque_keyed_values_impl< | |
158 | next_index | |
159 | , T_1 , T_2 , T_3 , T_4 , T_5 | |
160 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4) , std::forward<T_5>( t5))); | |
161 | } | |
162 | # endif | |
163 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
164 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4 , typename detail::call_param<T5 >::type t5 , typename detail::call_param<T6 >::type t6) | |
165 | { | |
166 | return type(t0, | |
167 | deque_keyed_values_impl< | |
168 | next_index | |
169 | , T1 , T2 , T3 , T4 , T5 , T6 | |
170 | >::construct(t1 , t2 , t3 , t4 , t5 , t6)); | |
171 | } | |
172 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
173 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4 , typename T_5 , typename T_6> | |
174 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
175 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4 , T_5 && t5 , T_6 && t6) | |
176 | { | |
177 | return type(std::forward<T_0>( t0), | |
178 | deque_keyed_values_impl< | |
179 | next_index | |
180 | , T_1 , T_2 , T_3 , T_4 , T_5 , T_6 | |
181 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4) , std::forward<T_5>( t5) , std::forward<T_6>( t6))); | |
182 | } | |
183 | # endif | |
184 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
185 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4 , typename detail::call_param<T5 >::type t5 , typename detail::call_param<T6 >::type t6 , typename detail::call_param<T7 >::type t7) | |
186 | { | |
187 | return type(t0, | |
188 | deque_keyed_values_impl< | |
189 | next_index | |
190 | , T1 , T2 , T3 , T4 , T5 , T6 , T7 | |
191 | >::construct(t1 , t2 , t3 , t4 , t5 , t6 , t7)); | |
192 | } | |
193 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
194 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4 , typename T_5 , typename T_6 , typename T_7> | |
195 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
196 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4 , T_5 && t5 , T_6 && t6 , T_7 && t7) | |
197 | { | |
198 | return type(std::forward<T_0>( t0), | |
199 | deque_keyed_values_impl< | |
200 | next_index | |
201 | , T_1 , T_2 , T_3 , T_4 , T_5 , T_6 , T_7 | |
202 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4) , std::forward<T_5>( t5) , std::forward<T_6>( t6) , std::forward<T_7>( t7))); | |
203 | } | |
204 | # endif | |
205 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
206 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4 , typename detail::call_param<T5 >::type t5 , typename detail::call_param<T6 >::type t6 , typename detail::call_param<T7 >::type t7 , typename detail::call_param<T8 >::type t8) | |
207 | { | |
208 | return type(t0, | |
209 | deque_keyed_values_impl< | |
210 | next_index | |
211 | , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 | |
212 | >::construct(t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8)); | |
213 | } | |
214 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
215 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4 , typename T_5 , typename T_6 , typename T_7 , typename T_8> | |
216 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
217 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4 , T_5 && t5 , T_6 && t6 , T_7 && t7 , T_8 && t8) | |
218 | { | |
219 | return type(std::forward<T_0>( t0), | |
220 | deque_keyed_values_impl< | |
221 | next_index | |
222 | , T_1 , T_2 , T_3 , T_4 , T_5 , T_6 , T_7 , T_8 | |
223 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4) , std::forward<T_5>( t5) , std::forward<T_6>( t6) , std::forward<T_7>( t7) , std::forward<T_8>( t8))); | |
224 | } | |
225 | # endif | |
226 | BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
227 | static type construct(typename detail::call_param<T0 >::type t0 , typename detail::call_param<T1 >::type t1 , typename detail::call_param<T2 >::type t2 , typename detail::call_param<T3 >::type t3 , typename detail::call_param<T4 >::type t4 , typename detail::call_param<T5 >::type t5 , typename detail::call_param<T6 >::type t6 , typename detail::call_param<T7 >::type t7 , typename detail::call_param<T8 >::type t8 , typename detail::call_param<T9 >::type t9) | |
228 | { | |
229 | return type(t0, | |
230 | deque_keyed_values_impl< | |
231 | next_index | |
232 | , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 | |
233 | >::construct(t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8 , t9)); | |
234 | } | |
235 | # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) | |
236 | template <typename T_0 , typename T_1 , typename T_2 , typename T_3 , typename T_4 , typename T_5 , typename T_6 , typename T_7 , typename T_8 , typename T_9> | |
237 | BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
238 | static type forward_(T_0 && t0 , T_1 && t1 , T_2 && t2 , T_3 && t3 , T_4 && t4 , T_5 && t5 , T_6 && t6 , T_7 && t7 , T_8 && t8 , T_9 && t9) | |
239 | { | |
240 | return type(std::forward<T_0>( t0), | |
241 | deque_keyed_values_impl< | |
242 | next_index | |
243 | , T_1 , T_2 , T_3 , T_4 , T_5 , T_6 , T_7 , T_8 , T_9 | |
244 | >::forward_(std::forward<T_1>( t1) , std::forward<T_2>( t2) , std::forward<T_3>( t3) , std::forward<T_4>( t4) , std::forward<T_5>( t5) , std::forward<T_6>( t6) , std::forward<T_7>( t7) , std::forward<T_8>( t8) , std::forward<T_9>( t9))); | |
245 | } | |
246 | # endif | |
247 | }; | |
248 | template<typename T0 = void_ , typename T1 = void_ , typename T2 = void_ , typename T3 = void_ , typename T4 = void_ , typename T5 = void_ , typename T6 = void_ , typename T7 = void_ , typename T8 = void_ , typename T9 = void_> | |
249 | struct deque_keyed_values | |
250 | : deque_keyed_values_impl<mpl::int_<0>, T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> | |
251 | {}; | |
252 | }}} |