Subject: [Boost-users] Problems with bind
From: dilas dilas (espiritusantu_at_[hidden])
Date: 2010-02-04 11:50:17


If I have class with to versions of member function: const and non-const, and I use bind to access this member function, then I get a lot of errors.

For example:
struct A
{
        void foo(void){};
        void foo(void)const{};
};

const A a;
lambda::bind(&A::foo,lambda::_1 )(a);

Can I do something to solve this problem?