This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Coding standards


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

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