public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/8349: std::ios_base::out is not present in the fstream constructor taking a single argument.
@ 2002-10-25 17:36 Adam Wilkshire
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Wilkshire @ 2002-10-25 17:36 UTC (permalink / raw)
  To: paolo; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

The following reply was made to PR libstdc++/8349; it has been noted by GNATS.

From: "Adam Wilkshire" <adamwilkshire@hotmail.com>
To: paolo@gcc.gnu.org, adamwilkshire@hotmail.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/8349: std::ios_base::out is not present in the fstream
 constructor taking a single argument.
Date: Sat, 26 Oct 2002 00:30:10 +0000

 <html><div style='background-color:'><DIV>
 <P>I read the book from Langer and Kreft on the iostreams, but I guess thats not the standard - the behaviour changed since 2.95.3, which used to create files with the default fstream constructor ... But then thats not the standard either...</P>
 <P>Well this one I wasn't so sure of - the other 2 bugs I reported I think I was on firmer ground. But thats for you to judge. Anyway, thanks for the response. </P>
 <P>Ciao,</P>
 <P>Adam.</P></DIV></div><br clear=all><hr>Broadband? Dial-up? Get reliable MSN Internet Access. <a href="http://g.msn.com/8HMWEN/2016">Click Here</a> </html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/8349: std::ios_base::out is not present in the fstream constructor taking a single argument.
@ 2002-10-25 14:01 paolo
  0 siblings, 0 replies; 2+ messages in thread
From: paolo @ 2002-10-25 14:01 UTC (permalink / raw)
  To: adamwilkshire, gcc-bugs, gcc-prs, nobody, paolo

Synopsis: std::ios_base::out is not present in the fstream constructor taking a single argument.

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Fri Oct 25 14:01:46 2002
Responsible-Changed-Why:
    Analyzed.
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Fri Oct 25 14:01:46 2002
State-Changed-Why:
    In fact, as prescribed by 27.8.1.11, ios_base::out *is*
    present but together with ios_base::in, that is
    ios_base::in | ios_base::out is the default open mode of an
    fstream. However, the meaning of such an open mode is the
    same of the "r+" mode in C (27.8.1.3, Table 92), that is
    *file must exist*.
    To the contrary, the open mode of ofstream is ios_base::out,
    which creates if necessary (27.8.1.8).
    
    Thanks for your report, Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8349


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-26  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-25 17:36 libstdc++/8349: std::ios_base::out is not present in the fstream constructor taking a single argument Adam Wilkshire
  -- strict thread matches above, loose matches on Subject: below --
2002-10-25 14:01 paolo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).