diff options
Diffstat (limited to 'boost/fusion/adapted/boost_array/array_iterator.hpp')
-rw-r--r-- | boost/fusion/adapted/boost_array/array_iterator.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/fusion/adapted/boost_array/array_iterator.hpp b/boost/fusion/adapted/boost_array/array_iterator.hpp index 1246144980..0e39d45709 100644 --- a/boost/fusion/adapted/boost_array/array_iterator.hpp +++ b/boost/fusion/adapted/boost_array/array_iterator.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_ARRAY_ITERATOR_26122005_2250) #define BOOST_FUSION_ARRAY_ITERATOR_26122005_2250 +#include <boost/fusion/support/config.hpp> #include <cstddef> #include <boost/config.hpp> #include <boost/mpl/int.hpp> @@ -31,6 +32,7 @@ namespace boost { namespace fusion typedef mpl::int_<Pos> index; typedef Array array_type; + BOOST_FUSION_GPU_ENABLED array_iterator(Array& a) : array(a) {} @@ -55,6 +57,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const & it) { @@ -69,6 +72,7 @@ namespace boost { namespace fusion typedef typename Iterator::array_type array_type; typedef array_iterator<array_type, index::value + N::value> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { @@ -91,6 +95,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(I1 const&, I2 const&) { |