diff options
Diffstat (limited to 'boost/fusion/functional/adapter/fused_function_object.hpp')
-rw-r--r-- | boost/fusion/functional/adapter/fused_function_object.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/fusion/functional/adapter/fused_function_object.hpp b/boost/fusion/functional/adapter/fused_function_object.hpp index da8ac99baf..b3973a11d1 100644 --- a/boost/fusion/functional/adapter/fused_function_object.hpp +++ b/boost/fusion/functional/adapter/fused_function_object.hpp @@ -9,6 +9,7 @@ #if !defined(BOOST_FUSION_FUNCTIONAL_ADAPTER_FUSED_FUNCTION_OBJECT_HPP_INCLUDED) #define BOOST_FUSION_FUNCTIONAL_ADAPTER_FUSED_FUNCTION_OBJECT_HPP_INCLUDED +#include <boost/fusion/support/config.hpp> #include <boost/type_traits/add_reference.hpp> #include <boost/config.hpp> @@ -36,11 +37,13 @@ namespace boost { namespace fusion public: + BOOST_FUSION_GPU_ENABLED inline explicit fused_function_object(func_const_fwd_t f = Function()) : fnc_transformed(f) { } template <class Seq> + BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_function_object<func_const_fwd_t, Seq const>::type operator()(Seq const & s) const { @@ -49,6 +52,7 @@ namespace boost { namespace fusion } template <class Seq> + BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_function_object<func_fwd_t, Seq const>::type operator()(Seq const & s) @@ -58,6 +62,7 @@ namespace boost { namespace fusion } template <class Seq> + BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_function_object<func_const_fwd_t, Seq>::type operator()(Seq & s) const @@ -67,6 +72,7 @@ namespace boost { namespace fusion } template <class Seq> + BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_function_object<func_fwd_t,Seq>::type operator()(Seq & s) { |