The type is a bitmask type T3 that describes an object that can store the opening mode for several iostreams objects. The distinct flag values (elements) are:
app, to seek to the end of a stream before each insertion.
ate, to seek to the end of a stream when its controlling object is first created.
binary, to read a file as a binary stream, rather than as a text stream.
in, to permit extraction from a stream.
out, to permit insertion to a stream.
trunc, to delete contents of an existing file when its controlling object is created.
Partager