This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5297: operator!() const incorrect for fstream class
- From: Uwe Seimet <us at orbacus dot com>
- To: paolo at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 8 Jan 2002 14:36:02 -0000
- Subject: Re: libstdc++/5297: operator!() const incorrect for fstream class
- Reply-to: Uwe Seimet <us at orbacus dot com>
The following reply was made to PR libstdc++/5297; it has been noted by GNATS.
From: Uwe Seimet <us@orbacus.com>
To: paolo@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, us@ooc.de, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: libstdc++/5297: operator!() const incorrect for fstream class
Date: Tue, 8 Jan 2002 15:31:25 +0100
Hello,
> This has nothing to do with operator!().
> More simply, the open mode in|out|app is *not* allowed: see,
> f.i. Josuttis p. 632 or Langer/Kreft p. 43.
> Therefore, conformly to what prescribed by the standard, the
> open fails and !afile is in any case true.
Hmm. "Standard C++ IOStreams and Locales" by Langer and Kreft, Addison
Wesley says in|out|app is allowed. They use it in their example in 1.4.2.
What now? :)
Best regards, Uwe
--
----------------------------------------------------------------------------
Dr. Uwe Seimet mailto:us@orbacus.com
IONA - END 2 ANYWHERE http://www.orbacus.com