Boost logo

Boost Users :

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?


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