29
Input/output library
[input.output]
29.9
File-based streams
[file.streams]
29.9.2
Class template
basic_filebuf
[filebuf]
29.9.2.4
Member functions
[filebuf.members]
Table 126: File open modes
[tab:filebuf.open.modes]
🔗
ios_base
flag combination
stdio
equivalent
🔗
binary
in
out
trunc
app
🔗
+
"w"
🔗
+
+
"w"
🔗
+
+
"a"
🔗
+
"a"
🔗
+
"r"
🔗
+
+
"r+"
🔗
+
+
+
"w+"
🔗
+
+
+
"a+"
🔗
+
+
"a+"
🔗
+
+
"wb"
🔗
+
+
+
"wb"
🔗
+
+
+
"ab"
🔗
+
+
"ab"
🔗
+
+
"rb"
🔗
+
+
+
"r+b"
🔗
+
+
+
+
"w+b"
🔗
+
+
+
+
"a+b"
🔗
+
+
+
"a+b"