File indexing completed on 2025-01-18 09:31:09
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_FUSION_FIND_IF_FWD_HPP_INCLUDED)
0008 #define BOOST_FUSION_FIND_IF_FWD_HPP_INCLUDED
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/utility/enable_if.hpp>
0012 #include <boost/type_traits/is_const.hpp>
0013
0014
0015 namespace boost { namespace fusion
0016 {
0017 namespace result_of
0018 {
0019 template <typename Sequence, typename Pred>
0020 struct find_if;
0021 }
0022
0023 template <typename Pred, typename Sequence>
0024 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0025 inline typename
0026 lazy_disable_if<
0027 is_const<Sequence>
0028 , result_of::find_if<Sequence, Pred>
0029 >::type
0030 find_if(Sequence& seq);
0031
0032 template <typename Pred, typename Sequence>
0033 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0034 inline typename result_of::find_if<Sequence const, Pred>::type const
0035 find_if(Sequence const& seq);
0036 }}
0037
0038 #endif