This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH : basic_fstream::is_open()
- To: Richard Andrews <richarda at ixla dot com dot au>
- Subject: Re: PATCH : basic_fstream::is_open()
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 16 Jan 2001 08:25:02 +0100
- Cc: libstdc++ at sourceware dot cygnus dot com
- Organization: CodeSourcery, LLC
- References: <20010116143517.A944@kungfu.ixla.com.au>
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