Boost logo

Boost :

From: Johan Torp (johan.torp_at_[hidden])
Date: 2008-05-25 15:02:14


Peter Dimov-5 wrote:
>
> future<T> operator|| ( future<T>, future<T> );
>
> You can't use 'comb' as the return value.
>

In the expressive template solution, operator|| would return an unspecified
future-expression type and futures can be constructed from it. Just like
boost.function and boost.bind interacts. Other overloads would also work
with these unnamed future-expression temporaries.

Johan

-- 
View this message in context: http://www.nabble.com/Review-Request%3A-future-library-%28Gaskill-version%29-tp16600402p17461159.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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