diff options
Diffstat (limited to 'boost/fusion/view/zip_view/detail/end_impl.hpp')
-rw-r--r-- | boost/fusion/view/zip_view/detail/end_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/fusion/view/zip_view/detail/end_impl.hpp b/boost/fusion/view/zip_view/detail/end_impl.hpp index 6423a88f18..d57b08fbd7 100644 --- a/boost/fusion/view/zip_view/detail/end_impl.hpp +++ b/boost/fusion/view/zip_view/detail/end_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_END_IMPL_20060123_2208) #define FUSION_END_IMPL_20060123_2208 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp> #include <boost/fusion/sequence/intrinsic/end.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> @@ -54,6 +55,7 @@ namespace boost { namespace fusion { }; template<typename Seq> + BOOST_FUSION_GPU_ENABLED typename result<endpoints(Seq&)>::type operator()(Seq& seq) const { @@ -61,12 +63,14 @@ namespace boost { namespace fusion { } template<typename Seq> + BOOST_FUSION_GPU_ENABLED typename result<endpoints(Seq const&)>::type operator()(Seq const& seq) const { return fusion::advance<M>(fusion::begin(seq)); } + BOOST_FUSION_GPU_ENABLED unused_type operator()(unused_type const&) const { return unused_type(); @@ -89,6 +93,7 @@ namespace boost { namespace fusion { typename result_of::transform<typename Sequence::sequences, detail::endpoints<typename Sequence::size> >::type, typename Sequence::category> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& sequence) { |