diff options
Diffstat (limited to '3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp index 174c4b1..71f60a7 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/iteration/detail/fold.hpp @@ -58,6 +58,7 @@ namespace boost { namespace fusion struct BOOST_PP_CAT(unrolled_,BOOST_FUSION_FOLD_NAME) { template<typename State, typename It0, typename F> + BOOST_FUSION_GPU_ENABLED static Result call(State const& state,It0 const& it0,F f) { @@ -103,6 +104,7 @@ namespace boost { namespace fusion struct BOOST_PP_CAT(unrolled_,BOOST_FUSION_FOLD_NAME)<Result,3> { template<typename State, typename It0, typename F> + BOOST_FUSION_GPU_ENABLED static Result call(State const& state,It0 const& it0,F f) { @@ -133,6 +135,7 @@ namespace boost { namespace fusion struct BOOST_PP_CAT(unrolled_,BOOST_FUSION_FOLD_NAME)<Result,2> { template<typename State, typename It0, typename F> + BOOST_FUSION_GPU_ENABLED static Result call(State const& state,It0 const& it0,F f) { @@ -150,6 +153,7 @@ namespace boost { namespace fusion struct BOOST_PP_CAT(unrolled_,BOOST_FUSION_FOLD_NAME)<Result,1> { template<typename State, typename It0, typename F> + BOOST_FUSION_GPU_ENABLED static Result call(State const& state,It0 const& it0,F f) { @@ -162,8 +166,9 @@ namespace boost { namespace fusion struct BOOST_PP_CAT(unrolled_,BOOST_FUSION_FOLD_NAME)<Result,0> { template<typename State, typename It0, typename F> + BOOST_FUSION_GPU_ENABLED static Result - call(State const& state,It0 const& it0, F) + call(State const& state,It0 const&, F) { return static_cast<Result>(state); } @@ -340,6 +345,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(StateRef state, Seq& seq, F f) { @@ -363,6 +369,7 @@ namespace boost { namespace fusion { typedef StateRef type; + BOOST_FUSION_GPU_ENABLED static StateRef call(StateRef state, Seq&, F) { @@ -397,6 +404,7 @@ namespace boost { namespace fusion } template<typename Seq, typename State, typename F> + BOOST_FUSION_GPU_ENABLED inline typename result_of::BOOST_FUSION_FOLD_NAME< Seq , State const @@ -411,6 +419,7 @@ namespace boost { namespace fusion } template<typename Seq, typename State, typename F> + BOOST_FUSION_GPU_ENABLED inline typename result_of::BOOST_FUSION_FOLD_NAME< Seq const , State const @@ -425,6 +434,7 @@ namespace boost { namespace fusion } template<typename Seq, typename State, typename F> + BOOST_FUSION_GPU_ENABLED inline typename result_of::BOOST_FUSION_FOLD_NAME< Seq , State const @@ -439,6 +449,7 @@ namespace boost { namespace fusion } template<typename Seq, typename State, typename F> + BOOST_FUSION_GPU_ENABLED inline typename result_of::BOOST_FUSION_FOLD_NAME< Seq const , State const |