forked from boostorg/fusion
final gpu-enabling tweaks
This commit is contained in:
@ -37,6 +37,7 @@ namespace boost { namespace fusion
|
||||
|
||||
public:
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline explicit fused(func_const_fwd_t f = Function())
|
||||
: fnc_transformed(f)
|
||||
{ }
|
||||
|
@ -37,6 +37,7 @@ namespace boost { namespace fusion
|
||||
|
||||
public:
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline explicit fused_function_object(func_const_fwd_t f = Function())
|
||||
: fnc_transformed(f)
|
||||
{ }
|
||||
|
@ -37,6 +37,7 @@ namespace boost { namespace fusion
|
||||
|
||||
public:
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline explicit fused_procedure(func_const_fwd_t f = Function())
|
||||
: fnc_transformed(f)
|
||||
{ }
|
||||
|
@ -79,6 +79,7 @@ namespace boost { namespace fusion
|
||||
typedef typename detail::call_param<Function>::type func_const_fwd_t;
|
||||
public:
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline explicit unfused(func_const_fwd_t f = function())
|
||||
: fnc_transformed(f)
|
||||
{ }
|
||||
|
@ -63,6 +63,7 @@ namespace boost { namespace fusion
|
||||
|
||||
public:
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline explicit unfused_typed(func_const_fwd_t f = Function())
|
||||
: fnc_transformed(f)
|
||||
{ }
|
||||
@ -129,7 +130,8 @@ namespace boost
|
||||
#define M(z,i,s) \
|
||||
typename call_param<typename result_of::value_at_c<s,i>::type>::type a##i
|
||||
|
||||
inline typename boost::result_of<
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline typename boost::result_of<
|
||||
function_c(arg_vector_t &) >::type
|
||||
operator()(BOOST_PP_ENUM(N,M,arg_vector_t)) const
|
||||
{
|
||||
@ -141,7 +143,8 @@ namespace boost
|
||||
return static_cast<Derived const *>(this)->fnc_transformed(arg);
|
||||
}
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED inline typename boost::result_of<
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline typename boost::result_of<
|
||||
function(arg_vector_t &) >::type
|
||||
operator()(BOOST_PP_ENUM(N,M,arg_vector_t))
|
||||
{
|
||||
|
Reference in New Issue
Block a user