Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / fusion / iterator / mpl / convert_iterator.hpp
index dd52d4c..54c9ef6 100644 (file)
@@ -7,6 +7,7 @@
 #if !defined(FUSION_CONVERT_ITERATOR_05062005_1218)
 #define FUSION_CONVERT_ITERATOR_05062005_1218
 
+#include <boost/fusion/support/config.hpp>
 #include <boost/fusion/support/is_iterator.hpp>
 #include <boost/mpl/if.hpp>
 #include <boost/mpl/bool.hpp>
@@ -30,18 +31,21 @@ namespace boost { namespace fusion
             >::type
         type;
 
+        BOOST_FUSION_GPU_ENABLED
         static T const&
         call(T const& x, mpl::true_)
         {
             return x;
         }
 
+        BOOST_FUSION_GPU_ENABLED
         static mpl_iterator<T>
         call(T const& /*x*/, mpl::false_)
         {
             return mpl_iterator<T>();
         }
 
+        BOOST_FUSION_GPU_ENABLED
         static typename
             mpl::if_<
                 is_fusion_iterator<T>