Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem using boost::bind
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2010-04-14 11:50:03


On Apr 14, 2010, at 8:39 AM, Iskandar Prins wrote:

> Hi,
>
> Im trying to use boost::bind with 2 parameters on a member function,
> bind(&Foo::bar, this, _1, _1));
>
> but somehow this fails compilation. Whats the proper syntaxis?

Well, for starters, you've got an extra ')' there.

-- Marshall



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net