diff options
Diffstat (limited to 'boost/fusion/container/map/detail/cpp03/as_map.hpp')
-rw-r--r-- | boost/fusion/container/map/detail/cpp03/as_map.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/boost/fusion/container/map/detail/cpp03/as_map.hpp b/boost/fusion/container/map/detail/cpp03/as_map.hpp index 62748be143..efa836ba08 100644 --- a/boost/fusion/container/map/detail/cpp03/as_map.hpp +++ b/boost/fusion/container/map/detail/cpp03/as_map.hpp @@ -22,6 +22,8 @@ namespace boost { namespace fusion { namespace detail { +BOOST_FUSION_BARRIER_BEGIN + template <int size, bool is_assoc> struct as_map; @@ -35,13 +37,15 @@ namespace boost { namespace fusion { namespace detail }; template <typename Iterator> - BOOST_FUSION_GPU_ENABLED + BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED static typename apply<Iterator>::type call(Iterator) { return map<>(); } }; + +BOOST_FUSION_BARRIER_END }}} #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES) @@ -66,6 +70,8 @@ namespace boost { namespace fusion { namespace detail namespace boost { namespace fusion { namespace detail { +BOOST_FUSION_BARRIER_BEGIN + #define BOOST_FUSION_NEXT_ITERATOR(z, n, data) \ typedef typename fusion::result_of::next<BOOST_PP_CAT(I, n)>::type \ BOOST_PP_CAT(I, BOOST_PP_INC(n)); @@ -90,6 +96,7 @@ namespace boost { namespace fusion { namespace detail #undef BOOST_FUSION_PAIR_FROM_ITERATOR #undef BOOST_FUSION_DREF_CALL_ITERATOR +BOOST_FUSION_BARRIER_END }}} #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES) @@ -120,7 +127,7 @@ namespace boost { namespace fusion { namespace detail }; template <typename Iterator> - BOOST_FUSION_GPU_ENABLED + BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static typename apply<Iterator>::type call(Iterator const& i0) { |