This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/10159: setiosflags(ios::right) is broken
- From: paolo at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rppawlo at sandia dot gov
- Date: 20 Mar 2003 12:49:38 -0000
- Subject: Re: libstdc++/10159: setiosflags(ios::right) is broken
- Reply-to: paolo at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rppawlo at sandia dot gov, gcc-gnats at gcc dot gnu dot org
Synopsis: setiosflags(ios::right) is broken
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Thu Mar 20 12:49:38 2003
State-Changed-Why:
Not a bug. In general, I suggest not basing your judgement
of what is or is not "broken" on 2.95.x: iostreams have
been completely rewritten for 3.x and are now _much_ more
conforming.
In order to get what you want, please add a
cout << resetiosflags(ios::adjustfield);
before the second setiosflags(ios::left).
Thanks for your report, Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10159