Title
is_open should be const
Status
nad
Section
[file.streams]
Submitter
Matt Austern

Created on 1998-08-27.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Not a defect. This is a deliberate feature; const streams would be meaningless.

Date: 1998-08-27.00:00:00

Classes basic_ifstream, basic_ofstream, and basic_fstream all have a member function is_open. It should be a const member function, since it does nothing but call one of basic_filebuf's const member functions.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg168
1998-08-27 00:00:00admincreate