Boost logo

Boost :

Subject: Re: [boost] Futures Review - wait_for_any Concept parameters
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-01-18 04:46:08


----- 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?

Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk