|
30 | 30 | & & \tcode{<ostream>} \\
|
31 | 31 | & & \tcode{<iomanip>} \\ \rowsep
|
32 | 32 | \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>} \\ |
36 | 36 | \end{libsumtab}
|
37 | 37 |
|
38 | 38 | \pnum
|
|
382 | 382 | }
|
383 | 383 | \end{codeblock}
|
384 | 384 |
|
| 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 | + |
385 | 394 | \pnum
|
386 | 395 | The header
|
387 | 396 | \tcode{<iostream>}
|
|
8402 | 8411 |
|
8403 | 8412 | \rSec1[file.streams]{File-based streams}
|
8404 | 8413 |
|
8405 |
| -\rSec2[fstreams]{File streams} |
| 8414 | +\rSec2[fstreams]{Overview} |
8406 | 8415 |
|
8407 | 8416 | \pnum
|
8408 | 8417 | The header
|
|
8449 | 8458 | }
|
8450 | 8459 | \end{codeblock}
|
8451 | 8460 |
|
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 |
| - |
8461 | 8461 | \pnum
|
8462 | 8462 | \enternote The class template \tcode{basic_filebuf} treats a file as a source or
|
8463 | 8463 | sink of bytes. In an environment that uses a large character set, the file
|
8464 | 8464 | typically holds multibyte character sequences and the \tcode{basic_filebuf}
|
8465 | 8465 | object converts those multibyte sequences into wide character sequences.
|
8466 | 8466 | \exitnote
|
8467 | 8467 |
|
8468 |
| -\rSec3[filebuf]{Class template \tcode{basic_filebuf}} |
| 8468 | +\rSec2[filebuf]{Class template \tcode{basic_filebuf}} |
8469 | 8469 |
|
8470 | 8470 | \indexlibrary{\idxcode{basic_filebuf}}%
|
8471 | 8471 | \begin{codeblock}
|
|
9228 | 9228 | the original contents of the file.
|
9229 | 9229 | \end{itemdescr}
|
9230 | 9230 |
|
9231 |
| -\rSec3[ifstream]{Class template \tcode{basic_ifstream}} |
| 9231 | +\rSec2[ifstream]{Class template \tcode{basic_ifstream}} |
9232 | 9232 |
|
9233 | 9233 | \indexlibrary{\idxcode{basic_ifstream}}%
|
9234 | 9234 | \begin{codeblock}
|
|
9468 | 9468 | \tcode{ios_base::failure}~(\ref{iostate.flags})).
|
9469 | 9469 | \end{itemdescr}
|
9470 | 9470 |
|
9471 |
| -\rSec3[ofstream]{Class template \tcode{basic_ofstream}} |
| 9471 | +\rSec2[ofstream]{Class template \tcode{basic_ofstream}} |
9472 | 9472 |
|
9473 | 9473 | \indexlibrary{\idxcode{basic_ofstream}}%
|
9474 | 9474 | \begin{codeblock}
|
|
9705 | 9705 | \effects calls \tcode{open(s.c_str(), mode);}
|
9706 | 9706 | \end{itemdescr}
|
9707 | 9707 |
|
9708 |
| -\rSec3[fstream]{Class template \tcode{basic_fstream}} |
| 9708 | +\rSec2[fstream]{Class template \tcode{basic_fstream}} |
9709 | 9709 |
|
9710 | 9710 | \indexlibrary{\idxcode{basic_fstream}}%
|
9711 | 9711 | \begin{codeblock}
|
|
9951 | 9951 | \tcode{ios_base::failure}).
|
9952 | 9952 | \end{itemdescr}
|
9953 | 9953 |
|
9954 |
| -\rSec2[c.files]{C library files} |
| 9954 | +\rSec1[c.files]{C library files} |
9955 | 9955 |
|
9956 | 9956 | \pnum
|
9957 | 9957 | Table~\ref{tab:iostreams.hdr.cstdio} describes header \tcode{<cstdio>}.
|
|
0 commit comments