[Bug libstdc++/22130] fstream fails to create a file in ios::in| ios::out mode.
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Mon Jun 20 22:45:00 GMT 2005
------- Additional Comments From schwab at suse dot de 2005-06-20 22:45 -------
You need to add ios::trunc if you want to create the file, see
[lib.filebuf.members] 27.8.1.3#2.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22130
More information about the Gcc-bugs
mailing list