diff options
Diffstat (limited to 'boost/fusion/container/deque/deque_iterator.hpp')
-rw-r--r-- | boost/fusion/container/deque/deque_iterator.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/fusion/container/deque/deque_iterator.hpp b/boost/fusion/container/deque/deque_iterator.hpp index d3e5f31eb7..c61d6f97f0 100644 --- a/boost/fusion/container/deque/deque_iterator.hpp +++ b/boost/fusion/container/deque/deque_iterator.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_DEQUE_ITERATOR_26112006_2154) #define BOOST_FUSION_DEQUE_ITERATOR_26112006_2154 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/iterator_facade.hpp> #include <boost/fusion/container/deque/detail/keyed_element.hpp> #include <boost/mpl/minus.hpp> @@ -25,6 +26,7 @@ namespace boost { namespace fusion { typedef Seq sequence; typedef mpl::int_<Pos> index; + BOOST_FUSION_GPU_ENABLED deque_iterator(Seq& seq) : seq_(seq) {} @@ -47,6 +49,7 @@ namespace boost { namespace fusion { add_const<element_type>, mpl::identity<element_type> >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& it) { @@ -61,6 +64,7 @@ namespace boost { namespace fusion { typedef typename Iterator::sequence sequence; typedef deque_iterator<sequence, index::value + N::value> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { @@ -87,6 +91,7 @@ namespace boost { namespace fusion { >::type type; + BOOST_FUSION_GPU_ENABLED static type call(I1 const&, I2 const&) { |