[patch] debug mode
Bo Persson
bop@gmb.dk
Fri Aug 20 15:08:00 GMT 2010
François Dumont wrote:
> On 08/18/2010 03:11 PM, Paolo Carlini wrote:
>> About __first and __last, I would suggest
>> not changing those to __f and __l if at all possible: short names
>> are always more dangerous vs BADNAMES on some less widespread
>> machines.
> Hi
>
> Just regarding this point, I grep the lib headers, in bits
> sub-folder there are 730 occurrences of __f and about 940 of __l.
> So I don't think my usage of it in debug mode will introduce any
> regression. Moreover I consider using this technique to limit line
> width when I saw some code in debug headers that was already using
> __f, __l. Do you still want me to revert this point ?
>
I guess the limited line length is supposed to improve readability.
Obfustacing the names to be able to follow the letter of the law,
doesn't seem like an improvement.
Just my 2 cents.
Bo Persson
More information about the Libstdc++
mailing list