annotate DEPENDENCIES/generic/include/boost/fusion/algorithm/iteration/accumulate_fwd.hpp @ 46:d572322e2efe

Fix to .cat file check (was susceptible to DOS line-endings) and subrepo update
author Chris Cannam
date Thu, 07 Aug 2014 14:39:38 +0100
parents 2665513ce2d3
children c530137014c0
rev   line source
Chris@16 1 /*=============================================================================
Chris@16 2 Copyright (c) 2011 Eric Niebler
Chris@16 3
Chris@16 4 Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 ==============================================================================*/
Chris@16 7 #if !defined(BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED)
Chris@16 8 #define BOOST_FUSION_ACCUMULATE_FWD_HPP_INCLUDED
Chris@16 9
Chris@16 10 #include <boost/fusion/support/is_sequence.hpp>
Chris@16 11 #include <boost/utility/enable_if.hpp>
Chris@16 12
Chris@16 13 namespace boost { namespace fusion
Chris@16 14 {
Chris@16 15 namespace result_of
Chris@16 16 {
Chris@16 17 template <typename Sequence, typename State, typename F>
Chris@16 18 struct accumulate;
Chris@16 19 }
Chris@16 20
Chris@16 21 template <typename Sequence, typename State, typename F>
Chris@16 22 typename
Chris@16 23 lazy_enable_if<
Chris@16 24 traits::is_sequence<Sequence>
Chris@16 25 , result_of::accumulate<Sequence, State const, F>
Chris@16 26 >::type
Chris@16 27 accumulate(Sequence& seq, State const& state, F f);
Chris@16 28
Chris@16 29 template <typename Sequence, typename State, typename F>
Chris@16 30 typename
Chris@16 31 lazy_enable_if<
Chris@16 32 traits::is_sequence<Sequence>
Chris@16 33 , result_of::accumulate<Sequence const, State const, F>
Chris@16 34 >::type
Chris@16 35 accumulate(Sequence const& seq, State const& state, F f);
Chris@16 36 }}
Chris@16 37
Chris@16 38 #endif
Chris@16 39