PATCH : basic_fstream::is_open()

Gabriel Dos Reis gdr@codesourcery.com
Mon Jan 15 23:25:00 GMT 2001


Richard Andrews <richarda@ixla.com.au> writes:

| Hi all,
| 
| inheriting from fstream I've noticed that is_open() is not const for basic_ofstream, basic_ifstream and basic_fstream. I think these members should be const.

On which basis?  That issue is not a "bug" in V3, it is in accordance
with the C++ Standard specification.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


More information about the Libstdc++ mailing list