fold.hpp
Go to the documentation of this file.
1 
2 #ifndef BOOST_MPL_FOLD_HPP_INCLUDED
3 #define BOOST_MPL_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: 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>
23 
24 namespace boost { namespace mpl {
25 
26 template<
27  typename BOOST_MPL_AUX_NA_PARAM(Sequence)
28  , typename BOOST_MPL_AUX_NA_PARAM(State)
29  , typename BOOST_MPL_AUX_NA_PARAM(ForwardOp)
30  >
31 struct fold
32 {
33  typedef typename aux::fold_impl<
35  , typename begin<Sequence>::type
36  , typename end<Sequence>::type
37  , State
38  , ForwardOp
39  >::state type;
40 
41  BOOST_MPL_AUX_LAMBDA_SUPPORT(3,fold,(Sequence,State,ForwardOp))
42 };
43 
45 
46 }}
47 
48 #endif // BOOST_MPL_FOLD_HPP_INCLUDED
BOOST_MPL_AUX_NA_PARAM
#define BOOST_MPL_AUX_NA_PARAM(param)
Definition: na_spec.hpp:152
boost::mpl::fold
Definition: fold.hpp:31
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
fold_impl.hpp
boost::mpl::fold::type
aux::fold_impl< ::boost::mpl::O1_size< Sequence >::value, typename begin< Sequence >::type, typename end< Sequence >::type, State, ForwardOp >::state type
Definition: fold.hpp:39
begin_end.hpp
boost::mpl::O1_size
Definition: O1_size.hpp:29
boost::mpl::aux::fold_impl
forward declaration
Definition: preprocessed/bcc/fold_impl.hpp:23
O1_size.hpp
lambda_support.hpp


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