preprocessed/msvc60/fold_impl.hpp
Go to the documentation of this file.
1 
2 // Copyright Aleksey Gurtovoy 2000-2004
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 
9 // Preprocessed version of "boost/mpl/aux_/fold_impl.hpp" header
10 // -- DO NOT modify by hand!
11 
12 namespace boost { namespace mpl { namespace aux {
13 
15 
16 template<
17  int N
18  , typename First
19  , typename Last
20  , typename State
21  , typename ForwardOp
22  >
23 struct fold_impl;
24 
25 template< int N >
26 struct fold_chunk;
27 
28 template<> struct fold_chunk<0>
29 {
30  template<
31  typename First
32  , typename Last
33  , typename State
34  , typename ForwardOp
35  >
36  struct result_
37  {
38  typedef First iter0;
39  typedef State state0;
40  typedef state0 state;
41  typedef iter0 iterator;
42  };
43 
45  template<> struct result_< int,int,int,int >
46  {
47  typedef int state;
48  typedef int iterator;
49  };
50 
51 };
52 
53 template<> struct fold_chunk<1>
54 {
55  template<
56  typename First
57  , typename Last
58  , typename State
59  , typename ForwardOp
60  >
61  struct result_
62  {
63  typedef First iter0;
64  typedef State state0;
66  typedef typename mpl::next<iter0>::type iter1;
67 
68 
69  typedef state1 state;
70  typedef iter1 iterator;
71  };
72 
74  template<> struct result_< int,int,int,int >
75  {
76  typedef int state;
77  typedef int iterator;
78  };
79 
80 };
81 
82 template<> struct fold_chunk<2>
83 {
84  template<
85  typename First
86  , typename Last
87  , typename State
88  , typename ForwardOp
89  >
90  struct result_
91  {
92  typedef First iter0;
93  typedef State state0;
95  typedef typename mpl::next<iter0>::type iter1;
97  typedef typename mpl::next<iter1>::type iter2;
98 
99 
100  typedef state2 state;
101  typedef iter2 iterator;
102  };
103 
105  template<> struct result_< int,int,int,int >
106  {
107  typedef int state;
108  typedef int iterator;
109  };
110 
111 };
112 
113 template<> struct fold_chunk<3>
114 {
115  template<
116  typename First
117  , typename Last
118  , typename State
119  , typename ForwardOp
120  >
121  struct result_
122  {
123  typedef First iter0;
124  typedef State state0;
126  typedef typename mpl::next<iter0>::type iter1;
128  typedef typename mpl::next<iter1>::type iter2;
130  typedef typename mpl::next<iter2>::type iter3;
131 
132 
133  typedef state3 state;
134  typedef iter3 iterator;
135  };
136 
138  template<> struct result_< int,int,int,int >
139  {
140  typedef int state;
141  typedef int iterator;
142  };
143 
144 };
145 
146 template<> struct fold_chunk<4>
147 {
148  template<
149  typename First
150  , typename Last
151  , typename State
152  , typename ForwardOp
153  >
154  struct result_
155  {
156  typedef First iter0;
157  typedef State state0;
159  typedef typename mpl::next<iter0>::type iter1;
161  typedef typename mpl::next<iter1>::type iter2;
163  typedef typename mpl::next<iter2>::type iter3;
165  typedef typename mpl::next<iter3>::type iter4;
166 
167 
168  typedef state4 state;
169  typedef iter4 iterator;
170  };
171 
173  template<> struct result_< int,int,int,int >
174  {
175  typedef int state;
176  typedef int iterator;
177  };
178 
179 };
180 
181 template< int N >
182 struct fold_chunk
183 {
184  template<
185  typename First
186  , typename Last
187  , typename State
188  , typename ForwardOp
189  >
190  struct result_
191  {
192  typedef fold_impl<
193  4
194  , First
195  , Last
196  , State
197  , ForwardOp
199 
200  typedef fold_impl<
201  ( (N - 4) < 0 ? 0 : N - 4 )
202  , typename chunk_::iterator
203  , Last
204  , typename chunk_::state
205  , ForwardOp
206  > res_;
207 
208  typedef typename res_::state state;
209  typedef typename res_::iterator iterator;
210  };
211 };
212 
213 template<
214  typename First
215  , typename Last
216  , typename State
217  , typename ForwardOp
218  >
219 struct fold_step;
220 
221 template<
222  typename Last
223  , typename State
224  >
226 {
227  typedef Last iterator;
228  typedef State state;
229 };
230 
231 template<>
232 struct fold_chunk< -1 >
233 {
234  template<
235  typename First
236  , typename Last
237  , typename State
238  , typename ForwardOp
239  >
240  struct result_
241  {
242  typedef typename if_<
247 
248  typedef typename res_::state state;
249  typedef typename res_::iterator iterator;
250  };
251 
253  template<> struct result_< int,int,int,int >
254  {
255  typedef int state;
256  typedef int iterator;
257  };
258 
259 };
260 
261 template<
262  typename First
263  , typename Last
264  , typename State
265  , typename ForwardOp
266  >
267 struct fold_step
268 {
269  typedef fold_chunk< -1 >::template result_<
270  typename mpl::next<First>::type
271  , Last
273  , ForwardOp
275 
276  typedef typename chunk_::state state;
277  typedef typename chunk_::iterator iterator;
278 };
279 
280 template<
281  int N
282  , typename First
283  , typename Last
284  , typename State
285  , typename ForwardOp
286  >
287 struct fold_impl
288  : fold_chunk<N>
289  ::template result_< First,Last,State,ForwardOp >
290 {
291 };
292 
293 }}}
boost::mpl::aux::fold_chunk< 0 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:48
boost::mpl::aux::fold_chunk< 0 >::result_::state
state0 state
Definition: preprocessed/msvc60/fold_impl.hpp:40
boost::mpl::aux::fold_chunk< 2 >::result_::iter0
First iter0
Definition: preprocessed/msvc60/fold_impl.hpp:92
boost::mpl::aux::fold_chunk< -1 >::result_::state
res_::state state
Definition: preprocessed/msvc60/fold_impl.hpp:248
boost::mpl::aux::fold_chunk< 3 >::result_::iter0
First iter0
Definition: preprocessed/msvc60/fold_impl.hpp:123
boost::mpl::aux::fold_chunk< 3 >::result_::state3
apply2< ForwardOp, state2, typename deref< iter2 >::type >::type state3
Definition: preprocessed/msvc60/fold_impl.hpp:129
boost::mpl::aux::fold_impl< 4, First, Last, State, ForwardOp >::state
state4 state
Definition: preprocessed/bcc/fold_impl.hpp:119
boost::mpl::aux::fold_chunk< 1 >::result_::state1
apply2< ForwardOp, state0, typename deref< iter0 >::type >::type state1
Definition: preprocessed/msvc60/fold_impl.hpp:65
boost::mpl::aux::fold_chunk< -1 >::result_::res_
if_< typename is_same< First, Last >::type, fold_null_step< Last, State >, fold_step< First, Last, State, ForwardOp > >::type res_
Definition: preprocessed/msvc60/fold_impl.hpp:246
boost::mpl::aux::fold_null_step
Definition: preprocessed/msvc60/fold_impl.hpp:225
boost::mpl::aux::fold_chunk::result_::state
res_::state state
Definition: preprocessed/msvc60/fold_impl.hpp:208
boost::mpl::aux::fold_chunk< 1 >::result_::state0
State state0
Definition: preprocessed/msvc60/fold_impl.hpp:64
boost::mpl::aux::fold_chunk::result_
Definition: preprocessed/msvc60/fold_impl.hpp:190
boost::mpl::aux::fold_chunk< 0 >::result_::state0
State state0
Definition: preprocessed/msvc60/fold_impl.hpp:39
boost::mpl::aux::fold_chunk< 2 >::result_::state1
apply2< ForwardOp, state0, typename deref< iter0 >::type >::type state1
Definition: preprocessed/msvc60/fold_impl.hpp:94
boost::type
Definition: type.hpp:14
boost::mpl::aux::fold_chunk< 2 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:107
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::mpl::aux::fold_chunk< 1 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:77
boost::mpl::aux::fold_chunk< 1 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:76
boost::mpl::aux::fold_chunk< 3 >::result_::iter2
mpl::next< iter1 >::type iter2
Definition: preprocessed/msvc60/fold_impl.hpp:128
boost::mpl::aux::fold_chunk< -1 >::result_::iterator
res_::iterator iterator
Definition: preprocessed/msvc60/fold_impl.hpp:249
boost::mpl::aux::fold_chunk< 3 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:140
boost::mpl::aux::fold_impl::iterator
res_::iterator iterator
Definition: preprocessed/bcc/fold_impl.hpp:149
boost::mpl::aux::fold_chunk< 2 >::result_::state2
apply2< ForwardOp, state1, typename deref< iter1 >::type >::type state2
Definition: preprocessed/msvc60/fold_impl.hpp:96
boost::mpl::aux::fold_chunk< 4 >::result_::state4
apply2< ForwardOp, state3, typename deref< iter3 >::type >::type state4
Definition: preprocessed/msvc60/fold_impl.hpp:164
boost::mpl::aux::fold_chunk< 1 >::result_::iter1
mpl::next< iter0 >::type iter1
Definition: preprocessed/msvc60/fold_impl.hpp:66
boost::mpl::aux::fold_chunk< 0 >::result_::iter0
First iter0
Definition: preprocessed/msvc60/fold_impl.hpp:38
boost::mpl::aux::fold_chunk< -1 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:255
boost::mpl::aux::fold_chunk< 0 >::result_::iterator
iter0 iterator
Definition: preprocessed/msvc60/fold_impl.hpp:41
boost::mpl::aux::fold_chunk::result_::iterator
res_::iterator iterator
Definition: preprocessed/msvc60/fold_impl.hpp:209
boost::mpl::aux::fold_chunk< 4 >::result_::iter3
mpl::next< iter2 >::type iter3
Definition: preprocessed/msvc60/fold_impl.hpp:163
boost::mpl::aux::fold_chunk< 2 >::result_::state
state2 state
Definition: preprocessed/msvc60/fold_impl.hpp:100
boost::mpl::aux::fold_step::iterator
chunk_::iterator iterator
Definition: preprocessed/msvc60/fold_impl.hpp:277
boost::mpl::aux::fold_chunk< 1 >::result_::iterator
iter1 iterator
Definition: preprocessed/msvc60/fold_impl.hpp:70
boost::mpl::aux::fold_chunk< 2 >::result_::iter1
mpl::next< iter0 >::type iter1
Definition: preprocessed/msvc60/fold_impl.hpp:95
boost::mpl::aux::fold_chunk< 4 >::result_::iter2
mpl::next< iter1 >::type iter2
Definition: preprocessed/msvc60/fold_impl.hpp:161
boost::mpl::aux::fold_chunk< 2 >::result_::iter2
mpl::next< iter1 >::type iter2
Definition: preprocessed/msvc60/fold_impl.hpp:97
boost::mpl::aux::fold_impl::state
res_::state state
Definition: preprocessed/bcc/fold_impl.hpp:148
boost::mpl::aux::fold_chunk< 4 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:176
boost::mpl::aux::fold_null_step::state
State state
Definition: preprocessed/msvc60/fold_impl.hpp:228
boost::mpl::aux::fold_null_step::iterator
Last iterator
Definition: preprocessed/msvc60/fold_impl.hpp:227
boost::mpl::apply2
Definition: aux_/preprocessed/bcc/apply.hpp:67
boost::mpl::aux::fold_chunk
Definition: preprocessed/msvc60/fold_impl.hpp:26
boost::mpl::aux::fold_chunk< 4 >::result_::iter0
First iter0
Definition: preprocessed/msvc60/fold_impl.hpp:156
boost::mpl::aux::fold_chunk< 3 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:141
boost::mpl::aux::fold_chunk< 4 >::result_::state1
apply2< ForwardOp, state0, typename deref< iter0 >::type >::type state1
Definition: preprocessed/msvc60/fold_impl.hpp:158
boost::mpl::aux::fold_chunk< 1 >::result_::iter0
First iter0
Definition: preprocessed/msvc60/fold_impl.hpp:63
boost::mpl::aux::fold_chunk< 4 >::result_::iter1
mpl::next< iter0 >::type iter1
Definition: preprocessed/msvc60/fold_impl.hpp:159
boost::mpl::aux::fold_chunk< 2 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:108
boost::mpl::aux::fold_chunk< 3 >::result_::state
state3 state
Definition: preprocessed/msvc60/fold_impl.hpp:133
boost::mpl::aux::fold_chunk< 3 >::result_::iterator
iter3 iterator
Definition: preprocessed/msvc60/fold_impl.hpp:134
boost::mpl::next::type
T::next type
Definition: mpl/next_prior.hpp:31
boost::mpl::aux::fold_chunk< 4 >::result_::state3
apply2< ForwardOp, state2, typename deref< iter2 >::type >::type state3
Definition: preprocessed/msvc60/fold_impl.hpp:162
boost::mpl::aux::fold_chunk< 4 >::result_::state0
State state0
Definition: preprocessed/msvc60/fold_impl.hpp:157
boost::mpl::aux::fold_chunk< 4 >::result_::state2
apply2< ForwardOp, state1, typename deref< iter1 >::type >::type state2
Definition: preprocessed/msvc60/fold_impl.hpp:160
boost::mpl::aux::fold_impl
forward declaration
Definition: preprocessed/bcc/fold_impl.hpp:23
boost::mpl::aux::fold_chunk< 4 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:175
boost::mpl::aux::fold_chunk< 3 >::result_::iter1
mpl::next< iter0 >::type iter1
Definition: preprocessed/msvc60/fold_impl.hpp:126
boost::mpl::aux::fold_chunk< 3 >::result_::state0
State state0
Definition: preprocessed/msvc60/fold_impl.hpp:124
boost::mpl::if_
Definition: dmc/basic_bind.hpp:374
boost::mpl::aux::fold_chunk::result_::res_
fold_impl<((N - 4)< 0 ? 0 :N - 4), typename chunk_::iterator, Last, typename chunk_::state, ForwardOp > res_
Definition: preprocessed/msvc60/fold_impl.hpp:206
boost::mpl::aux::fold_chunk< 4 >::result_::iter4
mpl::next< iter3 >::type iter4
Definition: preprocessed/msvc60/fold_impl.hpp:165
boost::mpl::aux::fold_chunk< 3 >::result_::state1
apply2< ForwardOp, state0, typename deref< iter0 >::type >::type state1
Definition: preprocessed/msvc60/fold_impl.hpp:125
boost::mpl::aux::fold_chunk< 0 >::result_< int, int, int, int >::state
int state
Definition: preprocessed/msvc60/fold_impl.hpp:47
boost::mpl::aux::fold_chunk< 3 >::result_::state2
apply2< ForwardOp, state1, typename deref< iter1 >::type >::type state2
Definition: preprocessed/msvc60/fold_impl.hpp:127
boost::mpl::aux::fold_chunk< 1 >::result_::state
state1 state
Definition: preprocessed/msvc60/fold_impl.hpp:69
boost::mpl::aux::fold_chunk< 4 >::result_::state
state4 state
Definition: preprocessed/msvc60/fold_impl.hpp:168
boost::mpl::aux::fold_chunk::result_::chunk_
fold_impl< 4, First, Last, State, ForwardOp > chunk_
Definition: preprocessed/msvc60/fold_impl.hpp:198
boost::mpl::aux::fold_chunk< 2 >::result_::iterator
iter2 iterator
Definition: preprocessed/msvc60/fold_impl.hpp:101
boost::mpl::aux::fold_chunk< 4 >::result_::iterator
iter4 iterator
Definition: preprocessed/msvc60/fold_impl.hpp:169
boost::mpl::aux::fold_chunk< 2 >::result_::state0
State state0
Definition: preprocessed/msvc60/fold_impl.hpp:93
boost::mpl::aux::fold_impl< 4, First, Last, State, ForwardOp >::iterator
iter4 iterator
Definition: preprocessed/bcc/fold_impl.hpp:120
boost::mpl::aux::fold_step::chunk_
fold_chunk< -1 >::template result_< typename mpl::next< First >::type, Last, typename apply2< ForwardOp, State, typename deref< First >::type >::type, ForwardOp > chunk_
Definition: preprocessed/msvc60/fold_impl.hpp:274
boost::integral_constant
Definition: integral_constant.hpp:52
boost::mpl::aux::fold_chunk< -1 >::result_< int, int, int, int >::iterator
int iterator
Definition: preprocessed/msvc60/fold_impl.hpp:256
boost::mpl::aux::fold_step::state
chunk_::state state
Definition: preprocessed/msvc60/fold_impl.hpp:276
boost::mpl::aux::fold_step
Definition: preprocessed/msvc60/fold_impl.hpp:219
boost::mpl::aux::fold_chunk< 3 >::result_::iter3
mpl::next< iter2 >::type iter3
Definition: preprocessed/msvc60/fold_impl.hpp:130


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:39:22