This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Coding standards
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: Coding standards
- From: Phil Edwards <pedwards at jaj dot com>
- Date: Wed, 1 Dec 1999 11:47:22 -0500
Jason Merrill <jason@cygnus.com> writes:
>
> virtual int
> foo();
>
> looks ridiculous, and nobody would write code like that except under
> duress. Nobody seems to do it now, even though it's the "standard".
Some of us do it all the time, because there's a lot of editors which can
handle looking for ^foo regexps but don't use any kind of tags file.
I'm not saying that libstdc++ should be done like that for this reason
alone -- if y'all think it should be changed then it gets changed -- but
that code didn't bother me when I first saw it, and it still doesn't even
cause me to blink twice.
(If you reply to the list, please don't cc another copy to me. Thanks!)
Phil