hpx::make_ready_future_after#
Defined in header hpx/future.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
template<int DeductionGuard = 0, typename T>
future<hpx::util::decay_unwrap_t<T>> hpx::make_ready_future_after(hpx::chrono::steady_duration const &rel_time, T &&init)# Creates a pre-initialized future object which gets ready after a given point in time (extension)
-
inline future<void> hpx::make_ready_future_after(hpx::chrono::steady_duration const &rel_time)#
Creates a pre-initialized future object which gets ready after a given point in time (extension)
Creates a pre-initialized void future object that becomes ready after the given duration.
- Parameters:
rel_time – The duration after which the future becomes ready.