]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fusion/include/boost/fusion/algorithm/iteration/accumulate_fwd.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / algorithm / iteration / accumulate_fwd.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2011 Eric Niebler
3 Copyright (c) 2015 Kohei Takahashi
4
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7==============================================================================*/
8#if !defined(BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED)
9#define BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED
10
11#include <boost/fusion/support/config.hpp>
12
13namespace boost { namespace fusion
14{
15 namespace result_of
16 {
17 template <typename Sequence, typename State, typename F>
18 struct accumulate;
19 }
20
21 template <typename Sequence, typename State, typename F>
22 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
23 inline typename result_of::accumulate<Sequence, State const, F>::type
24 accumulate(Sequence& seq, State const& state, F f);
25
26 template <typename Sequence, typename State, typename F>
27 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
28 inline typename result_of::accumulate<Sequence const, State const, F>::type
29 accumulate(Sequence const& seq, State const& state, F f);
30}}
31
32#endif
33