hpx::threads::with_task_size

Contents

hpx::threads::with_task_size#

Defined in header hpx/functional.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

template<task_size Size, typename F>
constexpr sized_function<std::decay_t<F>, Size> hpx::threads::with_task_size(F &&f)#

Returns a function that carries the given task size.

Parameters:

f – Function whose task is expected to run for about Size