[pooma-dev] RFA: Reorder Initializers (2 of 3)
Mark Mitchell
mark at codesourcery.com
Thu Mar 29 01:52:56 UTC 2001
>>>>> "James" == James Crotinger <JimC at proximation.com> 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 mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the pooma-dev
mailing list