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     Copyright (c) 2015 Kohei Takahashi
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #if !defined(BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED)
0009 #define BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED
0010 
0011 #include <boost/fusion/support/config.hpp>
0012 
0013 namespace boost { namespace fusion
0014 {
0015     namespace result_of
0016     {
0017         template <typename Sequence, typename State, typename F>
0018         struct accumulate;
0019     }
0020 
0021     template <typename Sequence, typename State, typename F>
0022     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0023     inline typename result_of::accumulate<Sequence, State const, F>::type
0024     accumulate(Sequence& seq, State const& state, F f);
0025 
0026     template <typename Sequence, typename State, typename F>
0027     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0028     inline typename result_of::accumulate<Sequence const, State const, F>::type
0029     accumulate(Sequence const& seq, State const& state, F f);
0030 }}
0031 
0032 #endif
0033