Topic: Standard fstreams - why was the file protection argument removed?
Author: Valentin Bonnard <Bonnard.V@wanadoo.fr>
Date: 1999/11/05 Raw View
Joseph Van Valen wrote:
> I noticed that the pre-standard fstream classes had a constructor argument
> that selected the sharing mode for the file being opened. The standard
> fstream classes no longer have the sharing mode argument.
>
> Why was this argument removed from the standard? Is there a preferred method
> of setting the sharing mode when using the standard fstreams or is this not
> supported anymore?
Do you mean the protection (read/write) flags ? Anyway this
is completly OS specific. It's probably not supported anymore.
--
Valentin Bonnard
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: "Joseph Van Valen" <remove_vanvalen@remove_att.com>
Date: 1999/11/05 Raw View
Hello all,
I noticed that the pre-standard fstream classes had a constructor argument
that selected the sharing mode for the file being opened. The standard
fstream classes no longer have the sharing mode argument.
Why was this argument removed from the standard? Is there a preferred method
of setting the sharing mode when using the standard fstreams or is this not
supported anymore?
Thanks in advance for any responses.
Joseph Van Valen
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]