summaryrefslogtreecommitdiff
path: root/boost/fusion/iterator/iterator_adapter.hpp
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
committerChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
commit08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch)
tree7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/fusion/iterator/iterator_adapter.hpp
parentbb4dd8289b351fae6b55e303f189127a394a1edd (diff)
downloadboost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/fusion/iterator/iterator_adapter.hpp')
-rw-r--r--boost/fusion/iterator/iterator_adapter.hpp10
1 files changed, 8 insertions, 2 deletions
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 <boost/fusion/support/config.hpp>
#include <boost/fusion/iterator/detail/advance.hpp>
#include <boost/fusion/iterator/iterator_facade.hpp>
#include <boost/type_traits/remove_const.hpp>
@@ -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 <typename I1, typename I2>
@@ -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)
{