The following subclauses describe requirements for stream parameters, and components for forward declarations of iostreams, predefined iostreams objects, base iostreams classes, stream buffering, stream formatting and manipulators, string streams, and file streams, as summarized in Table 106.
Subclause | Header(s) | |
[iostreams.requirements] | Requirements | |
[iostream.forward] | Forward declarations | <iosfwd> |
[iostream.objects] | Standard iostream objects | <iostream> |
[iostreams.base] | Iostreams base classes | <ios> |
[stream.buffers] | Stream buffers | <streambuf> |
[iostream.format] | Formatting and manipulators | <istream> |
<ostream> | ||
<iomanip> | ||
[string.streams] | String streams | <sstream> |
[file.streams] | File streams | <fstream> |
[filesystems] | File systems | <filesystem> |
[c.files] | C library files | <cstdio> |
<cinttypes> |
Figure [fig:streampos] illustrates relationships among various types described in this clause. A line from A to B indicates that A is an alias (e.g. a typedef) for B or that A is defined in terms of B.