freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] RFA: Reorder Initializers (2 of 3)


From: Mark Mitchell
Subject: RE: [pooma-dev] RFA: Reorder Initializers (2 of 3)
Date: Wed, 28 Mar 2001 17:52:56 -0800

>>>>> "James" == James Crotinger <address@hidden> writes:

    James> I think this should be submitted as a g++ bug. This is a

The real G++ bug is that you can't control warnings individually, I
think.

Putting initializers in an order other than the order they're declared
in the class can be confusing to the reader -- people tend to
(mistakenly) think that the written order is the order things will
actually happen in.  Most style guides (Meyers, Taligent, etc.)
suggest that you should not write the initializers out of order, in
order to avoid confusing future readers of the code.

--
Mark Mitchell                   address@hidden
CodeSourcery, LLC               http://www.codesourcery.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]