Is this legal C++?

Zack Weinberg zack@wolery.cumb.org
Thu Apr 20 08:49:00 GMT 2000


On Thu, Apr 20, 2000 at 12:06:57AM -0700, Mark Mitchell wrote:
> >>>>> "Mike" == Mike Stump <mrs@windriver.com> writes:
> 
>     Mike> do this (that I know of), and since ptrfun() works, I think
>     Mike> it is a fine extension, and I'll go donate my kidney this
>     Mike> weekend.
> 
> That's very noble.  But, I'm not sure we want to do this.  There is
> one very good reason not to: it's not ISO C++, and that's what we're
> trying to focus on.
...

I don't actually care whether this extension is implemented.  I only
brought it up because I was trying to fix g++.robertl/eb127.C.  I had
a patch which made the compiler complain about a missing ->* rather
than crash, and I wasn't sure if eb127 was legal C++.  Jason has now
fixed eb127 without modifying the test case, so presumably it is...

zw



More information about the Gcc mailing list