This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interpretation of 22.2.6.2.2.2


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]