iter_fold.hpp
Go to the documentation of this file.
1 
2 #ifndef BOOST_MPL_ITER_FOLD_HPP_INCLUDED
3 #define BOOST_MPL_ITER_FOLD_HPP_INCLUDED
4 
5 // Copyright Aleksey Gurtovoy 2001-2004
6 // Copyright David Abrahams 2001-2002
7 //
8 // Distributed under the Boost Software License, Version 1.0.
9 // (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
11 //
12 // See http://www.boost.org/libs/mpl for documentation.
13 
14 // $Id: iter_fold.hpp 13472 2017-08-22 07:53:44Z richean $
15 // $Date: 2017-08-22 09:53:44 +0200 (Di, 22 Aug 2017) $
16 // $Revision: 13472 $
17 
18 #include <boost/mpl/begin_end.hpp>
19 #include <boost/mpl/O1_size.hpp>
20 #include <boost/mpl/lambda.hpp>
24 
25 namespace boost { namespace mpl {
26 
27 template<
28  typename BOOST_MPL_AUX_NA_PARAM(Sequence)
29  , typename BOOST_MPL_AUX_NA_PARAM(State)
30  , typename BOOST_MPL_AUX_NA_PARAM(ForwardOp)
31  >
32 struct iter_fold
33 {
34  typedef typename aux::iter_fold_impl<
36  , typename begin<Sequence>::type
37  , typename end<Sequence>::type
38  , State
39  , typename lambda<ForwardOp>::type
40  >::state type;
41 
42  BOOST_MPL_AUX_LAMBDA_SUPPORT(3,iter_fold,(Sequence,State,ForwardOp))
43 };
44 
46 
47 }}
48 
49 #endif // BOOST_MPL_ITER_FOLD_HPP_INCLUDED
lambda.hpp
BOOST_MPL_AUX_NA_PARAM
#define BOOST_MPL_AUX_NA_PARAM(param)
Definition: na_spec.hpp:152
boost::mpl::begin::type
begin_impl< tag_ >::template apply< Sequence >::type type
Definition: begin_end.hpp:35
na_spec.hpp
BOOST_MPL_AUX_NA_SPEC
#define BOOST_MPL_AUX_NA_SPEC(i, name)
Definition: na_spec.hpp:161
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::mpl::end::type
end_impl< tag_ >::template apply< Sequence >::type type
Definition: begin_end.hpp:47
BOOST_MPL_AUX_LAMBDA_SUPPORT
#define BOOST_MPL_AUX_LAMBDA_SUPPORT(i, name, params)
Definition: lambda_support.hpp:22
boost::mpl::lambda::type
T type
Definition: preprocessed/bcc/full_lambda.hpp:42
boost::mpl::aux::iter_fold_impl
forward declaration
Definition: preprocessed/bcc/iter_fold_impl.hpp:23
begin_end.hpp
boost::mpl::O1_size
Definition: O1_size.hpp:29
O1_size.hpp
iter_fold_impl.hpp
boost::mpl::iter_fold::type
aux::iter_fold_impl< ::boost::mpl::O1_size< Sequence >::value, typename begin< Sequence >::type, typename end< Sequence >::type, State, typename lambda< ForwardOp >::type >::state type
Definition: iter_fold.hpp:40
lambda_support.hpp
boost::mpl::iter_fold
Definition: iter_fold.hpp:32


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