This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: An even better implementation of 22.2.6.2.2 ??
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: ncm at cantrip dot org
- Cc: libstdc++ at gcc dot gnu dot org, bkoz at redhat dot com
- Date: Tue, 19 Feb 2002 15:13:07 +0100
- Subject: Re: An even better implementation of 22.2.6.2.2 ??
>More or less. (I hate calling widen over and over again, and doing
>all kinds of memory allocations during I/O, but that's a whole 'nother
>issue.) We need to think about whether the fill characters go before
>or after the space, because the standard is entirely unclear on the
>point. Generally, they probably shouldn't go between the space and
>the currency symbol, because the space is there to separate the
>currency symbol from other stuff. Thus,
>
> 1000****** DMK
> ITL ******1000
> This is purely a QOI matter, but once we choose we're probably
> stuck with it.
I see.
It would be ok with you if for the time being we bring to conformance the code
with the patch I have just posted and then, in a second round, we refine it for
the various QoI patterns?
(I'm afraid the space case will become quite a bit longer, since we have to
determine if the current index i is before or after the index corresponding to
symbol (only if showbase, of course, otherwise, which is a sensible default?)
Thanks, Paolo.