
5 Dec
2013
5 Dec
'13
6:47 p.m.
Hi, If I have two futures f1 and f2, can I compose them to a future that completes with the result of f1 and f2 when both f1 and f2 have finished? I'd like to have a future so that I can use the then()<http://www.boost.org/doc/libs/1_55_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.unique_future>method to run another transformation. I see method wait_for_all()<http://www.boost.org/doc/libs/1_55_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.wait_for_all>but this method blocks. Best, Kaspar