----- Original Message -----
From: "Peter Dimov" <[EMAIL PROTECTED]>
To: "Boost mailing list" <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 1:12 PM
Subject: Re: [boost] boost::bind woes


> Nope, it fails on Comeau, too, but in the prelinker stage.

Right, I'm sorry.

> If I understand your problem correctly, you need to replace
>
> Foo(Bar1);
>
> with
>
> Foo(bind(Bar1, _1));
>
> You can now remove the bind() in Foo, it is equivalent to cb(a, b).

That's right. Since Foo() is my public function, I was trying to bring all
the "dirty" work inside, this is why I was trying such a code. Ok, never
mind, thank you for your quick answer.

Giovanni Bajo

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to