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.


View this message in context:
Sent from the Boost - Dev mailing list archive at

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