This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

443. filebuf::close() inconsistent use of EOF

Section: [filebuf.members] Status: CD1 Submitter: Vincent Leloup Opened: 2003-11-20 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [filebuf.members].

View all issues with CD1 status.


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

Proposed resolution:

Change overflow(EOF) to overflow(traits::eof()).