
4 Nov
2008
4 Nov
'08
10:19 p.m.
AMDG eburkitt@gmail.com wrote:
I can see why version 1 won't compile. What I don't understand is why the original example, with its in-place function objects, does.
Boost.Bind ignores any arguments that are not used. void f() {} boost::bind(f)(2, 3); // ok. In Christ, Steven Watanabe