
16 Mar
2007
16 Mar
'07
12:47 p.m.
Oliver.Kowalke@qimonda.com wrote:
I suggest that
future< tuple< T1, T2, T3 > > f_and( f1 && f2 && f3); future< variant< T1, T2, T3 > > f_or( f1 || f2 || f3);
behave like ordinary futures f1, f2, f3. That means the the current thread is blocked in future< T
::get() not in the ctor.
Sure, that's the exact behavior of the future's library in the Vault.
What happens in exceptional cases? I would prefer that I get the ability to check which future (f1, f2, f3) failed and which exception was thrown.
Agreed. I still think the behavior wrt exceptions should be controllable by a policy. Regards Hartmut