Coding standards
Jason Merrill
jason@cygnus.com
Tue Nov 30 15:16:00 GMT 1999
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
More information about the Libstdc++
mailing list