diff options
Diffstat (limited to 'boost/fusion/adapted/boost_tuple')
9 files changed, 20 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&) {} }; }} diff --git a/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp index 8e2312500b..32ca5bec55 100644 --- a/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_AT_IMPL_09262006_1920) #define BOOST_FUSION_AT_IMPL_09262006_1920 +#include <boost/fusion/support/config.hpp> #include <boost/tuple/tuple.hpp> #include <boost/mpl/if.hpp> @@ -37,6 +38,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp index 010c442750..1fbbb19c14 100644 --- a/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_BEGIN_IMPL_09272006_0719) #define BOOST_FUSION_BEGIN_IMPL_09272006_0719 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp> namespace boost { namespace fusion @@ -26,6 +27,7 @@ namespace boost { namespace fusion { typedef boost_tuple_iterator<Sequence> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& v) { diff --git a/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp index e54702bf74..9f7f07c3a1 100644 --- a/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_END_IMPL_09272006_0721) #define BOOST_FUSION_END_IMPL_09272006_0721 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp> #include <boost/mpl/if.hpp> #include <boost/type_traits/is_const.hpp> @@ -41,6 +42,7 @@ namespace boost { namespace fusion > type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp index c74fb4dfea..eb4a1185e0 100644 --- a/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_IS_SEQUENCE_IMPL_09272006_0726) #define BOOST_FUSION_IS_SEQUENCE_IMPL_09272006_0726 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/bool.hpp> namespace boost { namespace fusion diff --git a/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp index 5d639d2b23..6384411034 100644 --- a/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_IS_VIEW_IMPL_09272006_0725) #define BOOST_FUSION_IS_VIEW_IMPL_09272006_0725 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/bool.hpp> namespace boost { namespace fusion diff --git a/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp index 1dad42030f..371627867b 100644 --- a/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_SIZE_IMPL_09272006_0724) #define BOOST_FUSION_SIZE_IMPL_09272006_0724 +#include <boost/fusion/support/config.hpp> #include <boost/tuple/tuple.hpp> #include <boost/mpl/int.hpp> diff --git a/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp b/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp index 4f5fc6a656..3999271368 100644 --- a/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp +++ b/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_VALUE_AT_IMPL_09262006_1926) #define BOOST_FUSION_VALUE_AT_IMPL_09262006_1926 +#include <boost/fusion/support/config.hpp> #include <boost/tuple/tuple.hpp> namespace boost { namespace fusion diff --git a/boost/fusion/adapted/boost_tuple/tag_of.hpp b/boost/fusion/adapted/boost_tuple/tag_of.hpp index 18356de2af..cf24ffbf80 100644 --- a/boost/fusion/adapted/boost_tuple/tag_of.hpp +++ b/boost/fusion/adapted/boost_tuple/tag_of.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_TAG_OF_09262006_1900) #define BOOST_FUSION_TAG_OF_09262006_1900 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/tag_of_fwd.hpp> namespace boost { namespace tuples |