preprocessed/mwcw/lambda_no_ctps.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_/lambda_no_ctps.hpp" header
10 // -- DO NOT modify by hand!
11 
12 namespace boost { namespace mpl {
13 
14 namespace aux {
15 
16 template<
17  bool C1 = false, bool C2 = false, bool C3 = false, bool C4 = false
18  , bool C5 = false
19  >
20 struct lambda_or
21  : true_
22 {
23 };
24 
25 template<>
26 struct lambda_or< false,false,false,false,false >
27  : false_
28 {
29 };
30 
31 template< typename Arity > struct lambda_impl
32 {
33  template< typename T, typename Tag, typename Protect > struct result_
34  {
35  typedef T type;
37  };
38 };
39 
40 template<> struct lambda_impl< int_<1> >
41 {
42  template< typename F, typename Tag, typename Protect > struct result_
43  {
45  typedef typename l1::is_le is_le1;
46  typedef aux::lambda_or<
48  > is_le;
49 
50  typedef bind1<
51  typename F::rebind
52  , typename l1::type
53  > bind_;
54 
55  typedef typename if_<
56  is_le
58  , identity<F>
60 
61  typedef typename type_::type type;
62  };
63 };
64 
65 template<> struct lambda_impl< int_<2> >
66 {
67  template< typename F, typename Tag, typename Protect > struct result_
68  {
71 
72  typedef typename l1::is_le is_le1;
73  typedef typename l2::is_le is_le2;
74 
75 
76  typedef aux::lambda_or<
78  > is_le;
79 
80  typedef bind2<
81  typename F::rebind
82  , typename l1::type, typename l2::type
83  > bind_;
84 
85  typedef typename if_<
86  is_le
88  , identity<F>
90 
91  typedef typename type_::type type;
92  };
93 };
94 
95 template<> struct lambda_impl< int_<3> >
96 {
97  template< typename F, typename Tag, typename Protect > struct result_
98  {
102 
103  typedef typename l1::is_le is_le1;
104  typedef typename l2::is_le is_le2;
105  typedef typename l3::is_le is_le3;
106 
107 
108  typedef aux::lambda_or<
110  > is_le;
111 
112  typedef bind3<
113  typename F::rebind
114  , typename l1::type, typename l2::type, typename l3::type
115  > bind_;
116 
117  typedef typename if_<
118  is_le
120  , identity<F>
122 
123  typedef typename type_::type type;
124  };
125 };
126 
127 template<> struct lambda_impl< int_<4> >
128 {
129  template< typename F, typename Tag, typename Protect > struct result_
130  {
135 
136  typedef typename l1::is_le is_le1;
137  typedef typename l2::is_le is_le2;
138  typedef typename l3::is_le is_le3;
139  typedef typename l4::is_le is_le4;
140 
141 
142  typedef aux::lambda_or<
144  > is_le;
145 
146  typedef bind4<
147  typename F::rebind
148  , typename l1::type, typename l2::type, typename l3::type
149  , typename l4::type
150  > bind_;
151 
152  typedef typename if_<
153  is_le
155  , identity<F>
157 
158  typedef typename type_::type type;
159  };
160 };
161 
162 template<> struct lambda_impl< int_<5> >
163 {
164  template< typename F, typename Tag, typename Protect > struct result_
165  {
171 
172  typedef typename l1::is_le is_le1;
173  typedef typename l2::is_le is_le2;
174  typedef typename l3::is_le is_le3;
175  typedef typename l4::is_le is_le4;
176  typedef typename l5::is_le is_le5;
177 
178 
179  typedef aux::lambda_or<
181  > is_le;
182 
183  typedef bind5<
184  typename F::rebind
185  , typename l1::type, typename l2::type, typename l3::type
186  , typename l4::type, typename l5::type
187  > bind_;
188 
189  typedef typename if_<
190  is_le
192  , identity<F>
194 
195  typedef typename type_::type type;
196  };
197 };
198 
199 } // namespace aux
200 
201 template<
202  typename T
203  , typename Tag
204  , typename Protect
205  >
206 struct lambda
207 {
210  typedef typename aux::lambda_impl<arity_>
212 
213  typedef typename l_::type type;
214  typedef typename l_::is_le is_le;
215  BOOST_MPL_AUX_LAMBDA_SUPPORT(3, lambda, (T, Tag, Protect))
216 };
217 
219 
220 template<
221  typename T
222  >
224  : lambda<T>::is_le
225 {
226 };
227 
228 }}
229 
boost::mpl::aux::lambda_or
Definition: preprocessed/bcc/full_lambda.hpp:20
BOOST_MPL_AUX_NA_SPEC2
#define BOOST_MPL_AUX_NA_SPEC2(i, j, name)
Definition: na_spec.hpp:166
boost::mpl::aux::lambda_impl
Definition: preprocessed/bcc/lambda_no_ctps.hpp:31
boost::mpl::bind5
Definition: bcc/basic_bind.hpp:255
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::is_le5
l5::is_le is_le5
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:176
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::is_le3
l3::is_le is_le3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:174
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::type_
if_< is_le, if_< Protect, mpl::protect< bind_ >, bind_ >, identity< F > >::type type_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:193
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::bind_
bind3< typename F::rebind, typename l1::type, typename l2::type, typename l3::type > bind_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:115
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::l2
lambda< typename F::arg2, Tag, false_ > l2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:167
T
T
Definition: mem_fn_cc.hpp:25
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::type
type_::type type
Definition: preprocessed/bcc/lambda_no_ctps.hpp:91
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::is_le1
l1::is_le is_le1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:136
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::is_le2
l2::is_le is_le2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:104
boost::mpl::aux::lambda_impl< int_< 1 > >::result_::type
type_::type type
Definition: preprocessed/bcc/lambda_no_ctps.hpp:61
boost::mpl::is_placeholder
Definition: mpl/is_placeholder.hpp:30
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::type_
if_< is_le, if_< Protect, mpl::protect< bind_ >, bind_ >, identity< F > >::type type_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:121
BOOST_MPL_AUX_MSVC_VALUE_WKND
#define BOOST_MPL_AUX_MSVC_VALUE_WKND(C)
Definition: value_wknd.hpp:58
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::l4
lambda< typename F::arg4, Tag, false_ > l4
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:134
boost::mpl::aux::lambda_impl< int_< 1 > >::result_::type_
if_< is_le, if_< Protect, mpl::protect< bind_ >, bind_ >, identity< F > >::type type_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:59
boost::mpl::is_lambda_expression
Definition: preprocessed/bcc/full_lambda.hpp:48
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::is_le2
l2::is_le is_le2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:173
boost::mpl::aux::lambda_impl< int_< 1 > >::result_::bind_
bind1< typename F::rebind, typename l1::type > bind_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:53
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::bind_
bind2< typename F::rebind, typename l1::type, typename l2::type > bind_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:83
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::l2
lambda< typename F::arg2, Tag, false_ > l2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:132
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::is_le3
l3::is_le is_le3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:138
boost::mpl::aux::lambda_impl::result_::type
T type
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:35
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::l3
lambda< typename F::arg3, Tag, false_ > l3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:133
BOOST_MPL_AUX_LAMBDA_SUPPORT
#define BOOST_MPL_AUX_LAMBDA_SUPPORT(i, name, params)
Definition: lambda_support.hpp:22
boost::mpl::aux::lambda_impl::result_::is_le
is_placeholder< T > is_le
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:36
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::type_
if_< is_le, if_< Protect, mpl::protect< bind_ >, bind_ >, identity< F > >::type type_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:156
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::l3
lambda< typename F::arg3, Tag, false_ > l3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:101
boost::mpl::bind1
Definition: bcc/basic_bind.hpp:79
boost::mpl::aux::template_arity::type
mpl::int_< value > type
Definition: preprocessed/gcc/template_arity.hpp:94
boost::mpl::identity
Definition: mpl/identity.hpp:25
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::l1
lambda< typename F::arg1, Tag, false_ > l1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:166
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::is_le4
l4::is_le is_le4
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:175
boost::mpl::lambda::type
l_::type type
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:213
boost::mpl::lambda::is_le
l_::is_le is_le
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:214
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::bind_
bind5< typename F::rebind, typename l1::type, typename l2::type, typename l3::type, typename l4::type, typename l5::type > bind_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:187
boost::mpl::lambda::l_
aux::lambda_impl< arity_ >::template result_< T, Tag, Protect > l_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:211
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::l1
lambda< typename F::arg1, Tag, false_ > l1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:131
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::bind_
bind4< typename F::rebind, typename l1::type, typename l2::type, typename l3::type, typename l4::type > bind_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:150
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::is_le1
l1::is_le is_le1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:103
boost::mpl::lambda::type
T type
Definition: preprocessed/bcc/full_lambda.hpp:42
boost::mpl::bind3
Definition: bcc/basic_bind.hpp:164
boost::mpl::lambda
Definition: preprocessed/bcc/full_lambda.hpp:38
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::l1
lambda< typename F::arg1, Tag, false_ > l1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:69
boost::mpl::bind2
Definition: bcc/basic_bind.hpp:121
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::type
type_::type type
Definition: preprocessed/bcc/lambda_no_ctps.hpp:123
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::type
type_::type type
Definition: preprocessed/bcc/lambda_no_ctps.hpp:158
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::is_le3
l3::is_le is_le3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:105
int_
Definition: int_fwd.hpp:22
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::l1
lambda< typename F::arg1, Tag, false_ > l1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:99
boost::mpl::aux::lambda_impl< int_< 1 > >::result_::is_le1
l1::is_le is_le1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:45
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::type_
if_< is_le, if_< Protect, mpl::protect< bind_ >, bind_ >, identity< F > >::type type_
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:89
boost::mpl::if_
Definition: dmc/basic_bind.hpp:374
boost::mpl::aux::lambda_impl< int_< 1 > >::result_::l1
lambda< typename F::arg1, Tag, false_ > l1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:44
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::is_le2
l2::is_le is_le2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:137
boost::mpl::aux::lambda_impl< int_< 4 > >::result_::is_le4
l4::is_le is_le4
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:139
boost::mpl::bind4
Definition: bcc/basic_bind.hpp:208
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::is_le2
l2::is_le is_le2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:73
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::type
type_::type type
Definition: preprocessed/bcc/lambda_no_ctps.hpp:195
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::l5
lambda< typename F::arg5, Tag, false_ > l5
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:170
boost::mpl::aux::lambda_impl< int_< 3 > >::result_::l2
lambda< typename F::arg2, Tag, false_ > l2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:100
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::l2
lambda< typename F::arg2, Tag, false_ > l2
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:70
boost::mpl::aux::lambda_impl< int_< 2 > >::result_::is_le1
l1::is_le is_le1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:72
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::l4
lambda< typename F::arg4, Tag, false_ > l4
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:169
bool_< true >
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::l3
lambda< typename F::arg3, Tag, false_ > l3
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:168
boost::mpl::lambda::arity_
aux::template_arity< T >::type arity_
Metafunction forwarding confuses MSVC 6.x.
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:209
boost::mpl::aux::lambda_impl< int_< 5 > >::result_::is_le1
l1::is_le is_le1
Definition: preprocessed/mwcw/lambda_no_ctps.hpp:172
boost::mpl::lambda::result_
T result_
Definition: preprocessed/bcc/full_lambda.hpp:41


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