Review Request: future library (Gaskill version)

View: New views
1 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 - 3 - 4 - 5 - 6 | Next >

Re: Re view Request: future library (N2561/Williams version)

by Bugzilla from anthony.ajw@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Frank Mori Hess <frank.hess@...> writes:

> 1) In order to wait on an arbitrary number of futures, determined at
> runtime, we need some kind of container.
>
> 2) Since containers are homogeneous, that means some kind of type erasure
> (future<void>).

I don't think that waiting for any of a dynamic set of futures of
different types is common. My new wait_for_any implementation allows
waiting for one of a container of identical futures, or one of a
compile-time set of futures of heterogeneous types. I think that
should cover most real uses.

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
< Prev | 1 - 2 - 3 - 4 - 5 - 6 | Next >