Boost logo

Boost :

Subject: Re: [boost] Futures Review - wait_for_any Concept parameters
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2009-01-20 09:07:55

"vicente.botet" <vicente.botet_at_[hidden]> writes:

> ----- Original Message -----
> From: "Anthony Williams" <anthony.ajw_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Wednesday, January 14, 2009 3:43 PM
> Subject: Re: [boost] Futures Review - wait_for_any Concept parameters
>> Vicente Botet Escriba <vicente.botet_at_[hidden]> writes:
>>> Please, could you give us which is the Concept for the wait_for_any
>>> parameter template function? It is not clear from the documentation which
>>> are the functions must be provided by the Models.
>> With the library as it stands, wait_for_any works with any
>> specializations of unique_future or shared_future, but only those ---
>> it is inherently tied to their implementation.
> Oh, I see. I've missed that on the documentation which is clearly
> stated on the preconditions.
> If this function works only for unique/shared future, its name is
> too generic to be placed at the boost namespace. Do you plan to
> include it in a specific futures namespace?

It could be moved inside a namespace. I'm not really
bothered. Alternatively, if it could be extended for other types then
that would work too.


Anthony Williams            | Just Software Solutions Ltd
Custom Software Development |
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

Boost list run by bdawes at, gregod at, cpdaniel at, john at