diff options
Diffstat (limited to 'boost/fusion/view/nview/detail')
-rw-r--r-- | boost/fusion/view/nview/detail/advance_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/at_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/begin_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/deref_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/distance_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/end_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/equal_to_impl.hpp | 1 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/next_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/nview_impl.hpp | 1 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/prior_impl.hpp | 2 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/size_impl.hpp | 1 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/value_at_impl.hpp | 1 | ||||
-rw-r--r-- | boost/fusion/view/nview/detail/value_of_impl.hpp | 1 |
13 files changed, 21 insertions, 0 deletions
diff --git a/boost/fusion/view/nview/detail/advance_impl.hpp b/boost/fusion/view/nview/detail/advance_impl.hpp index 391bebd8b0..ad82983eac 100644 --- a/boost/fusion/view/nview/detail/advance_impl.hpp +++ b/boost/fusion/view/nview/detail/advance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_ADVANCE_IMPL_SEP_24_2009_0212PM) #define BOOST_FUSION_NVIEW_ADVANCE_IMPL_SEP_24_2009_0212PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/advance.hpp> #include <boost/fusion/iterator/advance.hpp> @@ -35,6 +36,7 @@ namespace boost { namespace fusion typedef nview_iterator<sequence_type, typename mpl::advance<iterator_type, Dist>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/boost/fusion/view/nview/detail/at_impl.hpp b/boost/fusion/view/nview/detail/at_impl.hpp index f1f41642ab..45f9faf6f6 100644 --- a/boost/fusion/view/nview/detail/at_impl.hpp +++ b/boost/fusion/view/nview/detail/at_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_AT_IMPL_SEP_24_2009_0225PM) #define BOOST_FUSION_NVIEW_AT_IMPL_SEP_24_2009_0225PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/sequence/intrinsic/at.hpp> namespace boost { namespace fusion @@ -31,6 +32,7 @@ namespace boost { namespace fusion typedef typename result_of::at<index_type, N>::type index; typedef typename result_of::at<sequence_type, index>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/boost/fusion/view/nview/detail/begin_impl.hpp b/boost/fusion/view/nview/detail/begin_impl.hpp index 8ba59fc5d8..ca600b9a16 100644 --- a/boost/fusion/view/nview/detail/begin_impl.hpp +++ b/boost/fusion/view/nview/detail/begin_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM) #define BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/begin.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> @@ -34,6 +35,7 @@ namespace boost { namespace fusion typedef nview_iterator<Sequence, typename mpl::begin<index_type>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& s) { return type(s); diff --git a/boost/fusion/view/nview/detail/deref_impl.hpp b/boost/fusion/view/nview/detail/deref_impl.hpp index 075f0b0f18..bbdb982528 100644 --- a/boost/fusion/view/nview/detail/deref_impl.hpp +++ b/boost/fusion/view/nview/detail/deref_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_DEREF_IMPL_SEP_24_2009_0818AM) #define BOOST_FUSION_NVIEW_DEREF_IMPL_SEP_24_2009_0818AM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/deref.hpp> #include <boost/fusion/container/vector.hpp> @@ -33,6 +34,7 @@ namespace boost { namespace fusion typedef typename result_of::at< typename sequence_type::sequence_type, index>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { return at<index>(i.seq.seq); diff --git a/boost/fusion/view/nview/detail/distance_impl.hpp b/boost/fusion/view/nview/detail/distance_impl.hpp index 8b1906f6d2..e3e5a9a086 100644 --- a/boost/fusion/view/nview/detail/distance_impl.hpp +++ b/boost/fusion/view/nview/detail/distance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_DISTANCE_IMPL_SEP_23_2009_0328PM) #define BOOST_FUSION_NVIEW_DISTANCE_IMPL_SEP_23_2009_0328PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/distance.hpp> namespace boost { namespace fusion @@ -30,6 +31,7 @@ namespace boost { namespace fusion typename First::first_type, typename Last::first_type >::type type; + BOOST_FUSION_GPU_ENABLED static type call(First const& /*first*/, Last const& /*last*/) { diff --git a/boost/fusion/view/nview/detail/end_impl.hpp b/boost/fusion/view/nview/detail/end_impl.hpp index 7897748b7d..d36260dbb7 100644 --- a/boost/fusion/view/nview/detail/end_impl.hpp +++ b/boost/fusion/view/nview/detail/end_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_END_IMPL_SEP_24_2009_0140PM) #define BOOST_FUSION_NVIEW_END_IMPL_SEP_24_2009_0140PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/end.hpp> #include <boost/fusion/sequence/intrinsic/end.hpp> @@ -35,6 +36,7 @@ namespace boost { namespace fusion typedef nview_iterator<Sequence, typename mpl::end<index_type>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& s) { return type(s); diff --git a/boost/fusion/view/nview/detail/equal_to_impl.hpp b/boost/fusion/view/nview/detail/equal_to_impl.hpp index 517204b078..4b04788bb6 100644 --- a/boost/fusion/view/nview/detail/equal_to_impl.hpp +++ b/boost/fusion/view/nview/detail/equal_to_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_ITERATOR_SEP_24_2009_0329PM) #define BOOST_FUSION_NVIEW_ITERATOR_SEP_24_2009_0329PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/equal_to.hpp> namespace boost { namespace fusion diff --git a/boost/fusion/view/nview/detail/next_impl.hpp b/boost/fusion/view/nview/detail/next_impl.hpp index 01cccf2b84..5193bfe655 100644 --- a/boost/fusion/view/nview/detail/next_impl.hpp +++ b/boost/fusion/view/nview/detail/next_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_NEXT_IMPL_SEP_24_2009_0116PM) #define BOOST_FUSION_NVIEW_NEXT_IMPL_SEP_24_2009_0116PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/next.hpp> namespace boost { namespace fusion @@ -34,6 +35,7 @@ namespace boost { namespace fusion typedef nview_iterator<sequence_type, typename mpl::next<first_type>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/boost/fusion/view/nview/detail/nview_impl.hpp b/boost/fusion/view/nview/detail/nview_impl.hpp index 555c34eac1..6c7a3e21d1 100644 --- a/boost/fusion/view/nview/detail/nview_impl.hpp +++ b/boost/fusion/view/nview/detail/nview_impl.hpp @@ -63,6 +63,7 @@ namespace boost { namespace fusion { namespace result_of namespace boost { namespace fusion { template<BOOST_PP_ENUM_PARAMS(N, int I), typename Sequence> + BOOST_FUSION_GPU_ENABLED inline nview<Sequence, mpl::vector_c<int, BOOST_PP_ENUM_PARAMS(N, I)> > as_nview(Sequence& s) { diff --git a/boost/fusion/view/nview/detail/prior_impl.hpp b/boost/fusion/view/nview/detail/prior_impl.hpp index 079a9ca6c9..374b45f669 100644 --- a/boost/fusion/view/nview/detail/prior_impl.hpp +++ b/boost/fusion/view/nview/detail/prior_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_PRIOR_IMPL_SEP_24_2009_0142PM) #define BOOST_FUSION_NVIEW_PRIOR_IMPL_SEP_24_2009_0142PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/prior.hpp> namespace boost { namespace fusion @@ -34,6 +35,7 @@ namespace boost { namespace fusion typedef nview_iterator<sequence_type, typename mpl::prior<first_type>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/boost/fusion/view/nview/detail/size_impl.hpp b/boost/fusion/view/nview/detail/size_impl.hpp index e367f89925..57e6765386 100644 --- a/boost/fusion/view/nview/detail/size_impl.hpp +++ b/boost/fusion/view/nview/detail/size_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_NVIEW_SIZE_IMPL_OCT_06_2009_0525PM) #define FUSION_NVIEW_SIZE_IMPL_OCT_06_2009_0525PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/distance.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> #include <boost/fusion/sequence/intrinsic/end.hpp> diff --git a/boost/fusion/view/nview/detail/value_at_impl.hpp b/boost/fusion/view/nview/detail/value_at_impl.hpp index 145bb629bb..2afe9bee61 100644 --- a/boost/fusion/view/nview/detail/value_at_impl.hpp +++ b/boost/fusion/view/nview/detail/value_at_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_NVIEW_VALUE_AT_IMPL_SEP_24_2009_0234PM) #define BOOST_FUSION_NVIEW_VALUE_AT_IMPL_SEP_24_2009_0234PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/sequence/intrinsic/value_at.hpp> namespace boost { namespace fusion diff --git a/boost/fusion/view/nview/detail/value_of_impl.hpp b/boost/fusion/view/nview/detail/value_of_impl.hpp index 5b0a85ba9a..dc48e61ff6 100644 --- a/boost/fusion/view/nview/detail/value_of_impl.hpp +++ b/boost/fusion/view/nview/detail/value_of_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_VALUE_OF_PRIOR_IMPL_SEP_24_2009_0158PM) #define BOOST_FUSION_VALUE_OF_PRIOR_IMPL_SEP_24_2009_0158PM +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/deref.hpp> #include <boost/fusion/container/vector.hpp> |