thrust::make_zip_function

Defined in thrust/zip_function.h

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

make_zip_function creates a zip_function from a function object.

See also

zip_function

Parameters

fun – The N-ary function object.

Returns

A zip_function that takes a N-tuple.