home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / lib / bug / 752 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.1 KB  |  32 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
  3. From: bothner@cygnus.com
  4. Subject: Re: Bug in libg++-2.3 (using setfill/setw in iomanip).
  5. Message-ID: <9301060820.AA03002@cygnus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <9301051722.AA09942@uk0x06.ggr.co.uk>
  9. Distribution: gnu
  10. Date: Tue, 5 Jan 1993 16:20:03 GMT
  11. Approved: bug-lib-g++@prep.ai.mit.edu
  12. Lines: 18
  13.  
  14. > have discovered
  15. > what I think is a bug in the newly-added manipulators in iomanip.h.
  16.  
  17. No, the problem is in ostream::operator<<(char), and is old.
  18. The problem is that I followed the documentation (the AT&T man pages,
  19. and the draft ANSI standard), while AT&T felt no such obligation
  20. to follow their own documentation.
  21.  
  22. I will probably change my code, assuming the ANSI draft gets modified.
  23.  
  24. But thanks for trying this out - there was a question whether
  25. ANSI should follow the AT&T documentation or their implementation;
  26. being able to point to an example in Stroustrup's book would
  27. tend to favor the latter.
  28.  
  29.     --Per Bothner
  30. Cygnus Support     bothner@cygnus.com
  31.  
  32.