diff options
Diffstat (limited to 'boost/fusion/view/zip_view/detail/at_impl.hpp')
-rw-r--r-- | boost/fusion/view/zip_view/detail/at_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/fusion/view/zip_view/detail/at_impl.hpp b/boost/fusion/view/zip_view/detail/at_impl.hpp index 89df542f1f..f92c981725 100644 --- a/boost/fusion/view/zip_view/detail/at_impl.hpp +++ b/boost/fusion/view/zip_view/detail/at_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_AT_IMPL_20060124_1933) #define FUSION_AT_IMPL_20060124_1933 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/container/vector.hpp> #include <boost/fusion/sequence/intrinsic/at.hpp> #include <boost/fusion/container/vector/convert.hpp> @@ -43,6 +44,7 @@ namespace boost { namespace fusion }; template<typename Seq> + BOOST_FUSION_GPU_ENABLED typename result<poly_at(Seq&)>::type operator()(Seq& seq) const { @@ -50,12 +52,14 @@ namespace boost { namespace fusion } template<typename Seq> + BOOST_FUSION_GPU_ENABLED typename result<poly_at(Seq const&)>::type operator()(Seq const& seq) const { return fusion::at<N>(seq); } + BOOST_FUSION_GPU_ENABLED unused_type operator()(unused_type const&) const { return unused_type(); @@ -78,6 +82,7 @@ namespace boost { namespace fusion typename result_of::transform< typename Seq::sequences, detail::poly_at<N> >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Seq& seq) { |