Boost logo

Boost :

From: Johan Torp (johan.torp_at_[hidden])
Date: 2008-05-23 14:32:38


Frank Mori Hess wrote:
>
>> Yes, I'm thinking of a passive function which doesn't have an internal
>> thread associated with it. One that is evaluated lazily as soon as
>> someone
>> is interested in it.
>>
>> I think this could be very useful, do you?
>
> I don't know, it might be. I've never tried to program something using a
> lot
> of nested lazy evaluation. Could you use boost::bind to achieve the same
> effect? Doesn't it do something like this by default if you do a
> recursive
> bind of a function to a parameter, and don't wrap the function in
> boost::protect()?
>

I'm not sure I understand you. boost.bind itself has nothing to do with
threads waiting on eachother. You will probably use boost.bind to create the
evaluation functions (e1 and e2 in my previous post) though.

Johan

-- 
View this message in context: http://www.nabble.com/Review-Request%3A-future-library-%28Gaskill-version%29-tp16600402p17432645.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