1 /*=============================================================================
2 Copyright (c) 2011 Eric Niebler
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(BOOST_FUSION_FIND_IF_FWD_HPP_INCLUDED)
8 #define BOOST_FUSION_FIND_IF_FWD_HPP_INCLUDED
10 #include <boost/utility/enable_if.hpp>
11 #include <boost/type_traits/is_const.hpp>
13 // Forward declaration of find_if algorithm
14 namespace boost { namespace fusion
18 template <typename Sequence, typename Pred>
22 template <typename Pred, typename Sequence>
26 , result_of::find_if<Sequence, Pred>
28 find_if(Sequence& seq);
30 template <typename Pred, typename Sequence>
31 typename result_of::find_if<Sequence const, Pred>::type const
32 find_if(Sequence const& seq);