home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.lib.bug
- Path: 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
-
- > 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
-
-