Boost logo

Boost Users :

From: Javier Estrada (JEstrada_at_[hidden])
Date: 2006-12-05 16:16:20


How can I use boost bind to bind to an overloaded member function?

I had working code for a member function:

void C::dial(char key);

But when I added:

void C::dial(char key, MyConstants c);
void C::dial(string toDial);
void C::dial(string, MyConstants c);

References to my working code break:

for_each(begin, end, boost::bind(&C::dial, this, _1 ));

Regards,

Javier


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