Boost logo

Boost Users :

From: Simmons, Aaron (a-simmons1_at_[hidden])
Date: 2005-08-10 13:47:53


>Alan's post made me realize what's happening. Indeed, this last bind()
>doesn't know that funcFoo and funcBar are functions that it should
>call. You can tell it to consider them as functions by calling bind()
>on them:

Rather than wrapping another bind around them, is it possible to do some
kind of clever casting, so that bind wouldn't see them as booleans?

Btw, is the way I'm using function and bind not an intended use case?
It seems natural enough, but by its behavior perhaps no one thought
about it before...

Thanks,
aaron


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net