This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
An even better implementation of 22.2.6.2.2 ??
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: ncm at cantrip dot org, bkoz at redhat dot com
- Date: Tue, 19 Feb 2002 10:19:21 +0100
- Subject: An even better implementation of 22.2.6.2.2 ??
Hi again,
if I understand well what results from the discussion of yesterday, we
should not only revert my "fix" for libstdc++/5708, but also
unconditionally output a "plain" space for the space field (this is
required by the presence of the space field itself and has nothing to do
with the filling with the fill char). That is:
case money_base::space:
// At least one space is required, but if internal
// formatting is required, an arbitrary number of
// fill spaces will be necessary.
__res += __ctype.widen(' ');
if (__testipad)
__res += string_type(__width - __len - 1, __fill);
break;
Do we all agree about this??
Thanks again,
Paolo.