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...


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at