------- Additional Comments From pluto at agmk dot net 2005-05-08 23:47 -------
reduced testcase:
class A;
typedef bool (A::*FuncPtr)();
class B {
public:
FuncPtr foo() const { return fp1; }
FuncPtr bar() const { return fp2; }
private:
FuncPtr fp1, fp2;
};
In member function 'bool (A::* B::bar() const)()':
error: type 'A' is not a base type for type 'A'
error: in pointer to member conversion
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21455
