This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [C++0x PATCH] Remove auto as a storage class specifier


On Fri, Feb 29, 2008 at 7:58 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Fri, Feb 29, 2008 at 2:04 PM, Gabriel Dos Reis
>  <gdr@integrable-solutions.net> wrote:
>  >  Ask the C++ committee.  GCC mailing list is thw wrong place.
>
>  Yes but the C++ committee members who (I hope) represent GCC are on
>  the list here so asking here is asking those folks for some pushing
>  back to them.

The removal is now part of the WP.  It was suggested that the
WG14 liaison reports to WG14 to take similar action.  I don't remember
we actually voted on that specific request.

The `storage class specifier' was not found to be sufficiently determining to
cripple the new meaning of `auto'.  Some closed source compilers and
software vendors reported by that examining large source code  base
-- not at the reach of popular code search engine -- revealed exactly 2
uses of auto: one in comment; in the other case the programmer thought
he was naming a function parameter...

Anyway, none of GCC developers working in WG21 (especially in CWG)
believed there are sufficiently convincing arguments to keep the old meaning.
Note that `auto' is still a keyword -- now useful.

>
>  -- Pinski
>


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