c++/9215: Problem with reserting a stream to default using setf

paolo@gcc.gnu.org paolo@gcc.gnu.org
Mon Jan 13 05:17:00 GMT 2003


Synopsis: Problem with reserting a stream to default using setf

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Tue Jan  7 04:48:30 2003
Responsible-Changed-Why:
    Analyzed.
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Tue Jan  7 04:48:30 2003
State-Changed-Why:
    Basing on the ISO standard, what you are trying to do is not
    portable across different implementations. On the contrary
    
      cout.setf(ios_base::floatfield, ios_base::floatfield);
    
    it is and works for me.
    Works for you?
    Thanks, Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9215



More information about the Gcc-bugs mailing list