This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Coding standards
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Coding standards
- From: Jason Merrill <jason at cygnus dot com>
- Date: Tue, 30 Nov 1999 15:16:19 -0800
I've finally gotten around to reading the libstdc++ coding standards, and
would like to discuss some of them.
7) Perhaps the member-init-list should be indented?
8) Why not
try
{
...
}
catch (...)
{
...
}
? This is consistent with the C form for 'if' and such; the documented form
seems gratuitously inconsistent.
9) I disagree strongly. Declarations are all in one line in C, and member
function declarations should work the same way. I see that people have
been ignoring this rule anyway.
Jason