Rethinking... (Re: RFC: fp printing speedup...)
Paolo Carlini
pcarlini@unitus.it
Fri Nov 14 07:52:00 GMT 2003
Nathan Myers wrote:
>> If the standard does intend this to be the case, then we don't need to
>> loop with widen(char) and can use the array form instead.
>
> Absolutely you can use the array form. Anybody who suggested that
> anything should work right when widen gives different results for
> single char and array forms would be laughed off the list.
I don't follow: have you seen libstdc++/12988? Whatever we do as regards
cache management, if we don't use in any case the single char form, how we
can imagine fixing the bug? A user cannot be forced to always override both
forms in the same way and 22.2.2.2.2, p14 is clear about which form must be
called!
Paolo.
More information about the Libstdc++
mailing list