Skip to content

Commit c96c22a

Browse files
committed
Merge pull request #385 from jwakely/fstream-nesting
[file.streams] Change sub-clauses to rSec2, similar to [string.streams]
2 parents 8bed954 + 4779c8a commit c96c22a

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

source/iostreams.tex

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
& & \tcode{<ostream>} \\
3131
& & \tcode{<iomanip>} \\ \rowsep
3232
\ref{string.streams} & String streams & \tcode{<sstream>} \\ \rowsep
33-
\ref{file.streams} & File streams & \tcode{<fstream>} \\
34-
& & \tcode{<cstdio>} \\
35-
& & \tcode{<cinttypes>} \\
33+
\ref{file.streams} & File streams & \tcode{<fstream>} \\ \rowsep
34+
\ref{c.files} & C library files & \tcode{<cstdio>} \\
35+
& & \tcode{<cinttypes>} \\
3636
\end{libsumtab}
3737

3838
\pnum
@@ -382,6 +382,15 @@
382382
}
383383
\end{codeblock}
384384

385+
\pnum
386+
In this Clause, the type name \tcode{FILE} refers to
387+
the type
388+
\tcode{FILE}
389+
declared in
390+
\tcode{<cstdio>}
391+
\indexlibrary{\idxhdr{cstdio}}%
392+
(\ref{c.files}).
393+
385394
\pnum
386395
The header
387396
\tcode{<iostream>}
@@ -8402,7 +8411,7 @@
84028411

84038412
\rSec1[file.streams]{File-based streams}
84048413

8405-
\rSec2[fstreams]{File streams}
8414+
\rSec2[fstreams]{Overview}
84068415

84078416
\pnum
84088417
The header
@@ -8449,23 +8458,14 @@
84498458
}
84508459
\end{codeblock}
84518460

8452-
\pnum
8453-
In this subclause, the type name \tcode{FILE} refers to
8454-
the type
8455-
\tcode{FILE}
8456-
declared in
8457-
\tcode{<cstdio>}
8458-
\indexlibrary{\idxhdr{cstdio}}%
8459-
(\ref{c.files}).
8460-
84618461
\pnum
84628462
\enternote The class template \tcode{basic_filebuf} treats a file as a source or
84638463
sink of bytes. In an environment that uses a large character set, the file
84648464
typically holds multibyte character sequences and the \tcode{basic_filebuf}
84658465
object converts those multibyte sequences into wide character sequences.
84668466
\exitnote
84678467

8468-
\rSec3[filebuf]{Class template \tcode{basic_filebuf}}
8468+
\rSec2[filebuf]{Class template \tcode{basic_filebuf}}
84698469

84708470
\indexlibrary{\idxcode{basic_filebuf}}%
84718471
\begin{codeblock}
@@ -9228,7 +9228,7 @@
92289228
the original contents of the file.
92299229
\end{itemdescr}
92309230

9231-
\rSec3[ifstream]{Class template \tcode{basic_ifstream}}
9231+
\rSec2[ifstream]{Class template \tcode{basic_ifstream}}
92329232

92339233
\indexlibrary{\idxcode{basic_ifstream}}%
92349234
\begin{codeblock}
@@ -9468,7 +9468,7 @@
94689468
\tcode{ios_base::failure}~(\ref{iostate.flags})).
94699469
\end{itemdescr}
94709470

9471-
\rSec3[ofstream]{Class template \tcode{basic_ofstream}}
9471+
\rSec2[ofstream]{Class template \tcode{basic_ofstream}}
94729472

94739473
\indexlibrary{\idxcode{basic_ofstream}}%
94749474
\begin{codeblock}
@@ -9705,7 +9705,7 @@
97059705
\effects calls \tcode{open(s.c_str(), mode);}
97069706
\end{itemdescr}
97079707

9708-
\rSec3[fstream]{Class template \tcode{basic_fstream}}
9708+
\rSec2[fstream]{Class template \tcode{basic_fstream}}
97099709

97109710
\indexlibrary{\idxcode{basic_fstream}}%
97119711
\begin{codeblock}
@@ -9951,7 +9951,7 @@
99519951
\tcode{ios_base::failure}).
99529952
\end{itemdescr}
99539953

9954-
\rSec2[c.files]{C library files}
9954+
\rSec1[c.files]{C library files}
99559955

99569956
\pnum
99579957
Table~\ref{tab:iostreams.hdr.cstdio} describes header \tcode{<cstdio>}.

0 commit comments

Comments
 (0)