This is the mail archive of the
mailing list for the GCC project.
Re: (C++) Patch to elaborated-type-specifier handling
- To: mark at codesourcery dot com
- Subject: Re: (C++) Patch to elaborated-type-specifier handling
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 17 Sep 00 14:18:01 EDT
- Cc: gcc-patches at gcc dot gnu dot org
There's no general acceptance on which of these styles is preferable.
The GNU Coding Standards don't say (so far as I know) and much of the
C++ front-end (at least) uses the `!x' style rather than the `! x' style.
Most of the back-end uses the latter style and my argument is readability:
it's easier to catch a use of a variable at a glance if it has whitespace
around it. "!again" looks sufficiently different than "again" that manual
searches for uses can miss it. That's much easier to spot it in "! again".
At least in my opinion.