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_FWD_HPP_INCLUDED)
0008 #define BOOST_FUSION_FIND_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 namespace boost { namespace fusion
0015 {
0016     namespace result_of
0017     {
0018         template <typename Sequence, typename T>
0019         struct find;
0020     }
0021 
0022     template <typename T, typename Sequence>
0023     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0024     inline typename
0025         lazy_disable_if<
0026             is_const<Sequence>
0027           , result_of::find<Sequence, T>
0028         >::type const
0029     find(Sequence& seq);
0030 
0031     template <typename T, typename Sequence>
0032     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0033     inline typename result_of::find<Sequence const, T>::type const
0034     find(Sequence const& seq);
0035 }}
0036 
0037 #endif