Nikolai Pretzell schrieb:
The choice of operator is indeed unfortunate. However, I do not agree
that
- T b;
+ T b = T();
is in general a fix that improves code quality.
I beg to disagree.
It is always possible that between declaration and first use of b other
code is added later. If then b has at least a defined value (though not
a previously used one), error tracking is easier.
To be precise, of course T() may not be always the right decision. I
only remarked to leaving it un-initialized.
Nikolai
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]