This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this legal C++?
- To: mrs at windriver dot com
- Subject: Re: Is this legal C++?
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 20 Apr 2000 00:06:57 -0700
- Cc: gcc at gcc dot gnu dot org, zack at wolery dot cumb dot org
- Organization: CodeSourcery, LLC
- References: <200004200323.UAA17524@kankakee.wrs.com>
>>>>> "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