20 Jan 15:07
Re: Futures Review - wait_for_any Concept parameters
Anthony Williams <anthony.ajw <at> gmail.com>
2009-01-20 14:07:55 GMT
2009-01-20 14:07:55 GMT
"vicente.botet" <vicente.botet <at> wanadoo.fr> writes: > ----- Original Message ----- > From: "Anthony Williams" <anthony.ajw <at> gmail.com> > To: <boost <at> lists.boost.org> > Sent: Wednesday, January 14, 2009 3:43 PM > Subject: Re: [boost] Futures Review - wait_for_any Concept parameters > > >> >> Vicente Botet Escriba <vicente.botet <at> wanadoo.fr> 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 -- -- 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
RSS Feed