« Return to Thread: Updated version of futures library

Re: Updated version of futures library

by Bugzilla from Beckmann.Maik@googlemail.com :: Rate this Message:

Reply to Author | View in Thread

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);
}}}
??



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

 « Return to Thread: Updated version of futures library