summaryrefslogtreecommitdiff
path: root/boost/fusion/algorithm/transformation/pop_back.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/algorithm/transformation/pop_back.hpp')
-rw-r--r--boost/fusion/algorithm/transformation/pop_back.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/fusion/algorithm/transformation/pop_back.hpp b/boost/fusion/algorithm/transformation/pop_back.hpp
index 6059c555e8..b20b500356 100644
--- a/boost/fusion/algorithm/transformation/pop_back.hpp
+++ b/boost/fusion/algorithm/transformation/pop_back.hpp
@@ -7,6 +7,7 @@
#if !defined(FUSION_POP_BACK_09172005_1038)
#define FUSION_POP_BACK_09172005_1038
+#include <boost/fusion/support/config.hpp>
#include <boost/fusion/view/iterator_range/iterator_range.hpp>
#include <boost/fusion/sequence/intrinsic/begin.hpp>
#include <boost/fusion/sequence/intrinsic/end.hpp>
@@ -32,6 +33,7 @@ namespace boost { namespace fusion
static bool const is_last = IsLast;
+ BOOST_FUSION_GPU_ENABLED
pop_back_iterator(Iterator_ const& iterator_base)
: base_type(iterator_base) {}
@@ -40,6 +42,7 @@ namespace boost { namespace fusion
{
typedef pop_back_iterator<BaseIterator, is_last> type;
+ BOOST_FUSION_GPU_ENABLED
static type
call(BaseIterator const& i)
{
@@ -91,6 +94,7 @@ namespace boost { namespace fusion
typedef pop_back_iterator<base_prior, false> type;
+ BOOST_FUSION_GPU_ENABLED
static type
call(Iterator const& i)
{
@@ -112,6 +116,7 @@ namespace boost { namespace fusion
typedef pop_back_iterator<base_prior, false> type;
+ BOOST_FUSION_GPU_ENABLED
static type
call(Iterator const& i)
{
@@ -147,6 +152,7 @@ namespace boost { namespace fusion
}
template <typename Sequence>
+ BOOST_FUSION_GPU_ENABLED
inline typename result_of::pop_back<Sequence const>::type
pop_back(Sequence const& seq)
{