$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2008-02-28 15:04:15
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