diff options
Diffstat (limited to 'boost/fusion/iterator/iterator_adapter.hpp')
-rw-r--r-- | boost/fusion/iterator/iterator_adapter.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/boost/fusion/iterator/iterator_adapter.hpp b/boost/fusion/iterator/iterator_adapter.hpp index 6805626942..af6978b20e 100644 --- a/boost/fusion/iterator/iterator_adapter.hpp +++ b/boost/fusion/iterator/iterator_adapter.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_ITERATOR_ADAPTER_08112011_0942) #define FUSION_ITERATOR_ADAPTER_08112011_0942 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/detail/advance.hpp> #include <boost/fusion/iterator/iterator_facade.hpp> #include <boost/type_traits/remove_const.hpp> @@ -23,8 +24,9 @@ namespace boost { namespace fusion iterator_base_type; iterator_base_type iterator_base; - iterator_adapter(iterator_base_type const& iterator_base) - : iterator_base(iterator_base) {} + BOOST_FUSION_GPU_ENABLED + iterator_adapter(iterator_base_type const& iterator_base_) + : iterator_base(iterator_base_) {} // default implementation template <typename I1, typename I2> @@ -45,6 +47,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& it) { @@ -79,6 +82,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& it) { @@ -96,6 +100,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { @@ -113,6 +118,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { |