Topic: Defect report: basic_filebuf<charT, traits>::close(): inconsistent use of EOF


Author: Vincent Leloup <vincent_leloup@yahoo.fr>
Date: Thu, 20 Nov 2003 17:53:47 +0000 (UTC)
Raw View
[ Note: Forwarded to C++ Committee. -sdc ]


In section 27.8.1.3/6 [lib.filebuf.members], in effects description of
basic_filebuf<charT, traits>::close(),
overflow(EOF) is used twice; should be overflow(traits::eof()).

Vincent Leloup



[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]