Is this legal C++?

Mark Mitchell mark@codesourcery.com
Wed Apr 19 23:58:00 GMT 2000


>>>>> "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.  Every extension is an additional maintenance
burden.  Plus, when implementing extensions, it's been my experience
that it's very hard to avoid making any conforming program have
different semantics.

For all these reasons, we just turned down a C++ extension that Ulrich
suggested.  I feel similarly about your suggestion: it's not a bad
idea in language design, but it's not C++, either.

My two cents,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc mailing list