Boost logo

Boost :

From: Daniel Wallin (daniel_at_[hidden])
Date: 2008-02-20 10:47:44

Korcan Hussein wrote:
> > Steven Watanabe wrote:
>> This creates a function object that executes:
>> Fn(Fn(Fn(g())))
>> Since the inner functions return void, of course it fails.
> Oops, this isn't exactly what i'm trying to achieve, i just want
> bind/pass but not evalute.

You need to use `protect()` to prevent bind() from eagerly evaluating
nested binds. See:

Daniel Wallin
Boost Consulting

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