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 
0008 #ifndef BOOST_FUSION_ALGORITHM_ITERATION_REVERSE_ITER_FOLD_FWD_HPP
0009 #define BOOST_FUSION_ALGORITHM_ITERATION_REVERSE_ITER_FOLD_FWD_HPP
0010 
0011 namespace boost { namespace fusion
0012 {
0013     namespace result_of
0014     {
0015         template<typename Seq, typename State, typename F>
0016         struct reverse_iter_fold;
0017     }
0018 
0019     template<typename Seq, typename State, typename F>
0020     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0021     inline typename result_of::reverse_iter_fold<
0022         Seq
0023       , State const
0024       , F
0025     >::type
0026     reverse_iter_fold(Seq& seq, State const& state, F f);
0027 
0028     template<typename Seq, typename State, typename F>
0029     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0030     inline typename result_of::reverse_iter_fold<
0031         Seq const
0032       , State const
0033       , F
0034     >::type
0035     reverse_iter_fold(Seq const& seq, State const& state, F f);
0036 
0037     template<typename Seq, typename State, typename F>
0038     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0039     inline typename result_of::reverse_iter_fold<
0040         Seq
0041       , State
0042       , F
0043     >::type
0044     reverse_iter_fold(Seq& seq, State& state, F f);
0045 
0046     template<typename Seq, typename State, typename F>
0047     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0048     inline typename result_of::reverse_iter_fold<
0049         Seq const
0050       , State
0051       , F
0052     >::type
0053     reverse_iter_fold(Seq const& seq, State& state, F f);
0054 }}
0055 
0056 #endif