diff options
Diffstat (limited to 'boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp')
-rw-r--r-- | boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp b/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp index 551f0fd900..416880b4e9 100644 --- a/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp +++ b/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_BOOST_TUPLE_ITERATOR_09262006_1851) #define FUSION_BOOST_TUPLE_ITERATOR_09262006_1851 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/iterator_facade.hpp> #include <boost/type_traits/is_const.hpp> #include <boost/type_traits/add_const.hpp> @@ -47,6 +48,7 @@ namespace boost { namespace fusion { typedef Cons cons_type; + BOOST_FUSION_GPU_ENABLED explicit boost_tuple_iterator(Cons& in_cons) : cons(in_cons) {} Cons& cons; @@ -67,6 +69,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& iter) { @@ -88,6 +91,7 @@ namespace boost { namespace fusion >::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& iter) { @@ -121,6 +125,7 @@ namespace boost { namespace fusion lazy_next_distance<I1, I2> >::type type; + BOOST_FUSION_GPU_ENABLED static type call(I1 const&, I2 const&) { @@ -156,6 +161,7 @@ namespace boost { namespace fusion : boost_tuple_null_iterator<tuples::null_type> { template <typename Cons> + BOOST_FUSION_GPU_ENABLED explicit boost_tuple_iterator(Cons const&) {} }; @@ -164,6 +170,7 @@ namespace boost { namespace fusion : boost_tuple_null_iterator<tuples::null_type const> { template <typename Cons> + BOOST_FUSION_GPU_ENABLED explicit boost_tuple_iterator(Cons const&) {} }; @@ -172,6 +179,7 @@ namespace boost { namespace fusion : boost_tuple_null_iterator<tuples::tuple<> > { template <typename Cons> + BOOST_FUSION_GPU_ENABLED explicit boost_tuple_iterator(Cons const&) {} }; @@ -180,6 +188,7 @@ namespace boost { namespace fusion : boost_tuple_null_iterator<tuples::tuple<> const> { template <typename Cons> + BOOST_FUSION_GPU_ENABLED explicit boost_tuple_iterator(Cons const&) {} }; }} |