Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / fusion / view / zip_view / detail / advance_impl.hpp
index 2e4e1a7..17012ac 100644 (file)
@@ -8,6 +8,7 @@
 #if !defined(FUSION_ADVANCE_IMPL_20061024_2021)
 #define FUSION_ADVANCE_IMPL_20061024_2021
 
+#include <boost/fusion/support/config.hpp>
 #include <boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp>
 #include <boost/fusion/iterator/advance.hpp>
 #include <boost/fusion/algorithm/transformation/transform.hpp>
@@ -33,6 +34,7 @@ namespace boost { namespace fusion {
             };
 
             template<typename It>
+            BOOST_FUSION_GPU_ENABLED
             typename result<poly_advance(It)>::type
             operator()(const It& it) const
             {
@@ -55,6 +57,7 @@ namespace boost { namespace fusion {
                 typedef zip_view_iterator<
                     typename result_of::transform<typename It::iterators, detail::poly_advance<N> >::type> type;
 
+                BOOST_FUSION_GPU_ENABLED
                 static type
                 call(It const& it)
                 {