6 Sep
2015
6 Sep
'15
6:07 p.m.
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?
Nod, I agree. However, I have not found a clever way to do that yet. Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu