find_if.hpp
Go to the documentation of this file.
1 
2 #ifndef BOOST_MPL_FIND_IF_HPP_INCLUDED
3 #define BOOST_MPL_FIND_IF_HPP_INCLUDED
4 
5 // Copyright Aleksey Gurtovoy 2000-2004
6 //
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
10 //
11 // See http://www.boost.org/libs/mpl for documentation.
12 
13 // $Id: find_if.hpp 13472 2017-08-22 07:53:44Z richean $
14 // $Date: 2017-08-22 09:53:44 +0200 (Di, 22 Aug 2017) $
15 // $Revision: 13472 $
16 
18 #include <boost/mpl/arg.hpp>
23 
24 namespace boost { namespace mpl {
25 
27 
28 template<
29  typename BOOST_MPL_AUX_NA_PARAM(Sequence)
30  , typename BOOST_MPL_AUX_NA_PARAM(Predicate)
31  >
32 struct find_if
33 {
34  typedef typename iter_fold_if<
35  Sequence
36  , void
37  , mpl::arg<1> // ignore
40 
41  typedef typename second<result_>::type type;
42 
43  BOOST_MPL_AUX_LAMBDA_SUPPORT(2,find_if,(Sequence,Predicate))
44 };
45 
47 
48 }}
49 
50 #endif // BOOST_MPL_FIND_IF_HPP_INCLUDED
boost::mpl::find_if
Definition: find_if.hpp:32
find_if_pred.hpp
BOOST_MPL_AUX_NA_PARAM
#define BOOST_MPL_AUX_NA_PARAM(param)
Definition: na_spec.hpp:152
na_spec.hpp
boost::mpl::find_if::result_
iter_fold_if< Sequence, void, mpl::arg< 1 >, protect< aux::find_if_pred< Predicate > > >::type result_
Definition: find_if.hpp:39
common_name_wknd.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_AUX_LAMBDA_SUPPORT
#define BOOST_MPL_AUX_LAMBDA_SUPPORT(i, name, params)
Definition: lambda_support.hpp:22
boost::mpl::second::type
P::second type
Definition: pair.hpp:56
iter_fold_if.hpp
BOOST_MPL_AUX_COMMON_NAME_WKND
#define BOOST_MPL_AUX_COMMON_NAME_WKND(name)
Definition: common_name_wknd.hpp:30
boost::mpl::protect
Definition: protect.hpp:29
boost::mpl::find_if< Sequence, same_as< T > >::type
second< result_ >::type type
Definition: find_if.hpp:41
lambda_support.hpp
arg.hpp
boost::mpl::iter_fold_if
Definition: iter_fold_if.hpp:67


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