28 Feb
2008
28 Feb
'08
8:04 p.m.
Thanks a lot, the wrong return type was stupid ...
struct Bar {
Bar( Foo& foo_ ) : foo( foo_ ) { }
void operator()( const char* s_ ) { bind<void>(foo, _1, 42)(s_); }
Foo& foo; };
That compiles for me in VC++ 8
yes, but I do not get the expected output, I was not carefully enough? $ ./bind X, 11