Re:C++ pitfalls
by UnFleshedOne on Wednesday November 28, 2012 @01:47PM
(#4844008)
I never understood the need for blanket warnings for member initialization order on gcc. 99% of the time the order doesn't matter (who cares if I assign zero to one int or another first). And when it does, it is better to move initialization to the body of constructor anyway. Basically I have to do annoying reordering every time I do some changes on msvc and then compile on gcc just to remove the warnings.
[ Parent
| on HN ]
There are no comments on this comment yet.