« Return to Thread: Updated version of futures library

Re: Updated version of futures library

by Anthony Williams-4 :: Rate this Message:

Reply to Author | View in Thread

Maik Beckmann <beckmann.maik@...> writes:

> Am Freitag 30 Mai 2008 11:54:59 schrieb Anthony Williams:
>> unique_future<int> f1;
>> shared_future<std::string> f2;
>> unique_future<double> f3;
>> unsigned const ready_index=wait_for_any(future1,future2,future3);
>
> should this have been:
> {{{
> unique_future<int> f1;
> shared_future<std::string> f2;
> unique_future<double> f3;
> unsigned const ready_index=wait_for_any(f1, f2, f3);
> }}}
> ??

Yes. That's what I meant. Thanks.

Anthony
--
Anthony Williams            | Just Software Solutions Ltd
Custom Software Development | http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: Updated version of futures library