🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #424

Re: Bug in libg++-2.3 (using setfill/setw in iomanip).

#424
From: bothner
Date: Tue, 05 Jan 1993 16:20
17 lines
1121 bytes
> have discovered
> what I think is a bug in the newly-added manipulators in iomanip.h.

No, the problem is in ostream::operator<<(char), and is old.
The problem is that I followed the documentation (the AT&T man pages,
and the draft ANSI standard), while AT&T felt no such obligation
to follow their own documentation.

I will probably change my code, assuming the ANSI draft gets modified.

But thanks for trying this out - there was a question whether
ANSI should follow the AT&T documentation or their implementation;
being able to point to an example in Stroustrup's book would
tend to favor the latter.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Technical Details
Message-ID: <9301060820.AA03002@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
References: <9301051722.AA09942@uk0x06.ggr.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Subject: Re: Bug in libg++-2.3 (using setfill/setw in iomanip).
Message-ID: <9301060820.AA03002@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9301051722.AA09942@uk0x06.ggr.co.uk>
Distribution: gnu
Date: Tue, 5 Jan 1993 16:20:03 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 18