[Bug c++/20734] New: rejects valid pointer to member
error: cannot convert 'int*' to 'int A::*' for argument '1' to 'void blah(int A::*)' struct A; void blah(int A::*); struct A{ int a; }; templatetypename T //remove this line to make it work void hoho(){ blah(A::a); } compiles on gcc up to early 4.0, icc and comeau -- Summary:
Re: [Bug c++/20734] New: rejects valid pointer to member
sstrasser at systemhaus-gruppe dot de [EMAIL PROTECTED] writes: | error: cannot convert 'int*' to 'int A::*' for argument '1' to 'void blah(int A::*)' This is clearly a bug in GCC. -- Gaby