C++ pointer to member regression (?)

Mike Stump mrs@apple.com
Tue Jun 8 23:31:00 GMT 2004


On Tuesday, June 8, 2004, at 06:53 AM, Martin Reinecke wrote:
>     fptr ptr = &foo::f1;

> pmemb.cc:11: error: invalid use of ' foo::f1' to form a 
> pointer-to-member-function.  Use a qualified-id.

> If there is agreement that this is a bug, I'll file it in Bugzilla.

Looks like a bug...



More information about the Gcc mailing list