From 08c1e93fa36a49f49325a07fe91ff92c964c2b6c Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Thu, 11 Dec 2014 18:55:56 +0900 Subject: Imported Upstream version 1.57.0 --- boost/fusion/iterator/iterator_adapter.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'boost/fusion/iterator/iterator_adapter.hpp') diff --git a/boost/fusion/iterator/iterator_adapter.hpp b/boost/fusion/iterator/iterator_adapter.hpp index 6805626942..af6978b20e 100644 --- a/boost/fusion/iterator/iterator_adapter.hpp +++ b/boost/fusion/iterator/iterator_adapter.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_ITERATOR_ADAPTER_08112011_0942) #define FUSION_ITERATOR_ADAPTER_08112011_0942 +#include #include #include #include @@ -23,8 +24,9 @@ namespace boost { namespace fusion iterator_base_type; iterator_base_type iterator_base; - iterator_adapter(iterator_base_type const& iterator_base) - : iterator_base(iterator_base) {} + BOOST_FUSION_GPU_ENABLED + iterator_adapter(iterator_base_type const& iterator_base_) + : iterator_base(iterator_base_) {} // default implementation template @@ -45,6 +47,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& it) { @@ -79,6 +82,7 @@ namespace boost { namespace fusion >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& it) { @@ -96,6 +100,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { @@ -113,6 +118,7 @@ namespace boost { namespace fusion >::type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { -- cgit v1.2.3