This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: iostream implementaion incomplete
- To: <austern at sgi dot com>,"Anthony Williams" <anthony at anthonyw dot cjb dot net>
- Subject: Re: iostream implementaion incomplete
- From: "Anthony Williams" <anthony_w dot geo at yahoo dot com>
- Date: Mon, 10 Apr 2000 09:29:23 +0100
- Cc: <libstdc++ at sourceware dot cygnus dot com>
- References: <002801bfa08f$bd294830$5919cac2@derwent.co.uk> <14574.14762.930464.967790@isolde.engr.sgi.com>
- Reply-To: "Anthony Williams" <anthony at anthonyw dot cjb dot net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You are right that it's non-standard, but libstdc++-2 supported it.
Is there a standard-conforming method for opening a file stream that
fails if the file doesn't already exist?
Anthony
- ----- Original Message -----
From: Matt Austern <austern@sgi.com>
To: Anthony Williams <anthony@anthonyw.cjb.net>
Cc: <libstdc++@sourceware.cygnus.com>
Sent: 07 April 2000 20:43
Subject: iostream implementaion incomplete
>
> > I have some sample code which relies on ios::nocreate and
> > ofstream::setbuf(char*,int), which works under libstdc++-2 and
> fails
> > under the 2.90.8 snapshot, as neither of these are declared
> >
> > Are there any plans to add them to the implementation?
>
> I hope there's no plan to add ios::nocreate. It isn't part of the
> standard (see 27.4.2 and 27.4.2.1.4), and it isn't a conforming
> extension.
>
> --Matt
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>
iQA/AwUBOPGQ4pvw+P4cG5rVEQI73wCeMnaSJhy1c7G38ym27T3j/2SKM18An2Hr
rLmkUut+xbMPE5x151aYj3fh
=VsaS
-----END PGP SIGNATURE-----
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com