Interpretation of 22.2.6.2.2.2
Paolo Carlini
pcarlini@unitus.it
Mon Feb 18 12:15:00 GMT 2002
Benjamin Kosnik wrote:
> 2 Where none or space appears, white space is permitted in the format,
> except where none appears at the end, in which case no white space is
> permitted. The value space indicates that at least one space is required
> at that position.
I see.
> Perhaps this should be __fill instead of ' ', uniformly. I believe you
> are correct about this due to 22.2.6.2.2.
>
> I think that, to be standards conformant, space is required.
Well, after having read 22.2.6.3, I agree with you about the required space.
I also add that another respected implementation of the ISO/ANSI standard library
indeed uses __fill instead of ' ', uniformly. I'm preparing a patch to this effect.
Thanks,
Paolo.
More information about the Libstdc++
mailing list