Thrust

◆ make_zip_function()

template<typename Function >
__host__ __device__ zip_function<typename std::decay<Function>::type> thrust::make_zip_function ( Function &&  fun)

make_zip_function creates a zip_function from a function object.

Parameters
funThe N-ary function object.
Returns
A zip_function that takes a N-tuple.
See also
zip_function