Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / fusion / view / reverse_view / reverse_view.hpp
index e5716a4..3b134d5 100644 (file)
@@ -7,6 +7,7 @@
 #if !defined(FUSION_REVERSE_VIEW_07202005_0836)
 #define FUSION_REVERSE_VIEW_07202005_0836
 
+#include <boost/fusion/support/config.hpp>
 #include <boost/fusion/support/detail/access.hpp>
 #include <boost/fusion/support/is_view.hpp>
 #include <boost/fusion/support/category_of.hpp>
@@ -49,11 +50,14 @@ namespace boost { namespace fusion
                 bidirectional_traversal_tag
               , typename traits::category_of<first_type>::type>::value));
 
+        BOOST_FUSION_GPU_ENABLED
         reverse_view(Sequence& in_seq)
             : seq(in_seq)
         {}
 
+        BOOST_FUSION_GPU_ENABLED
         first_type first() const { return fusion::begin(seq); }
+        BOOST_FUSION_GPU_ENABLED
         last_type last() const { return fusion::end(seq); }
         typename mpl::if_<traits::is_view<Sequence>, Sequence, Sequence&>::type seq;