From: Ken MacKay (kmackay_at_[hidden])
Date: 2006-06-19 16:25:14
I found that I can use bind without specifying the boost namespace
when a placeholder (eg, _1) is used. If I don't use a placeholder in
the bind expression, then the compiler properly complains that "bind"
is undeclared. I am using gcc 3.3.5 on QNX 6.3.2.
Example program (compiles, but it shouldn't):
void something(int i, int j)
boost::function<void (int)> f = bind(&something, 0, _1);
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk