6 Sep
2015
6 Sep
'15
4:35 p.m.
Hartmut Kaiser wrote:
template <typename Future...> requires(is_future<Future>)... future
> when_all(Future &&... f) { (await f)...; return make_tuple(std::forward<Future>(f)...); }
I've always found when_any much more interesting than when_all. Is it as trivial to implement with await as when_all?