This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is this legal C++?


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]