This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/5297: operator!() const incorrect for fstream class


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]