Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:09

0001 /*=============================================================================
0002     Copyright (c) 2011 Eric Niebler
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
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 // Forward declaration of find_if algorithm
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