18
18
stream formatting and manipulators,
19
19
string streams,
20
20
and file streams,
21
- as summarized in \tref {iostreams.lib. summary }.
21
+ as summarized in \tref {iostreams.summary }.
22
22
23
- \begin {libsumtab }{Input/output library summary}{iostreams.lib. summary}
23
+ \begin {libsumtab }{Input/output library summary}{iostreams.summary}
24
24
\ref {iostreams.requirements } & Requirements & \\ \rowsep
25
25
\ref {iostream.forward } & Forward declarations & \tcode {<iosfwd>} \\ \rowsep
26
26
\ref {iostream.objects } & Standard iostream objects & \tcode {<iostream>} \\ \rowsep
964
964
The type
965
965
\tcode {fmtflags}
966
966
is a bitmask type\iref {bitmask.types }.
967
- Setting its elements has the effects indicated in \tref {iostreams .fmtflags.effects }.
967
+ Setting its elements has the effects indicated in \tref {ios .fmtflags }.
968
968
969
- \begin {libefftab }{\tcode {fmtflags} effects}{iostreams .fmtflags.effects }
969
+ \begin {libefftab }{\tcode {fmtflags} effects}{ios .fmtflags}
970
970
\tcode {boolalpha} &
971
971
insert and extract \tcode {bool} type in alphabetic format\\
972
972
\tcode {dec} &
1003
1003
\pnum
1004
1004
Type
1005
1005
\tcode {fmtflags}
1006
- also defines the constants indicated in \tref {iostreams .fmtflags.constants }.
1006
+ also defines the constants indicated in \tref {ios .fmtflags.const }.
1007
1007
1008
- \begin {floattable }{\tcode {fmtflags} constants}{iostreams .fmtflags.constants }
1008
+ \begin {floattable }{\tcode {fmtflags} constants}{ios .fmtflags.const }
1009
1009
{ll}
1010
1010
\topline
1011
1011
\lhdr {Constant} & \rhdr {Allowable values} \\ \capsep
1027
1027
The type
1028
1028
\tcode {iostate}
1029
1029
is a bitmask type\iref {bitmask.types }
1030
- that contains the elements indicated in \tref {iostreams .iostate.effects }.
1030
+ that contains the elements indicated in \tref {ios .iostate }.
1031
1031
1032
- \begin {libefftab }{\tcode {iostate} effects}{iostreams .iostate.effects }
1032
+ \begin {libefftab }{\tcode {iostate} effects}{ios .iostate}
1033
1033
\tcode {badbit} &
1034
1034
indicates a loss of integrity in an input or output sequence
1035
1035
(such as an irrecoverable read error from a file); \\
1063
1063
The type
1064
1064
\tcode {openmode}
1065
1065
is a bitmask type\iref {bitmask.types }.
1066
- It contains the elements indicated in \tref {iostreams .openmode.effects }.
1066
+ It contains the elements indicated in \tref {ios .openmode }.
1067
1067
1068
- \begin {libefftab }{\tcode {openmode} effects}{iostreams .openmode.effects }
1068
+ \begin {libefftab }{\tcode {openmode} effects}{ios .openmode}
1069
1069
\tcode {app} &
1070
1070
seek to end before each write \\
1071
1071
\tcode {ate} &
1093
1093
The type
1094
1094
\tcode {seekdir}
1095
1095
is an enumerated type\iref {enumerated.types }
1096
- that contains the elements indicated in \tref {iostreams .seekdir.effects }.
1096
+ that contains the elements indicated in \tref {ios .seekdir }.
1097
1097
1098
- \begin {libefftabmean }{\tcode {seekdir} effects}{iostreams .seekdir.effects }
1098
+ \begin {libefftabmean }{\tcode {seekdir} effects}{ios .seekdir}
1099
1099
\tcode {beg} &
1100
1100
request a seek (for subsequent input or output) relative to the beginning of the stream \\
1101
1101
\tcode {cur} &
1686
1686
\oldconcept {CopyAssignable},
1687
1687
\oldconcept {Destructible},
1688
1688
and \oldconcept {EqualityComparable} (\tref {equalitycomparable }) requirements.
1689
- In addition, the expressions shown in \tref {iostreams.position.requirements }
1689
+ In addition, the expressions shown in \tref {fpos.operations }
1690
1690
are valid and have the indicated semantics.
1691
1691
In that table,
1692
1692
\begin {itemize }
1701
1701
1702
1702
\begin {libreqtab4c }
1703
1703
{Position type requirements}
1704
- {iostreams.position.requirements }
1704
+ {fpos.operations }
1705
1705
\\ \topline
1706
1706
\lhdr {Expression} & \chdr {Return type} & \chdr {Operational} & \rhdr {Assertion/note} \\
1707
1707
& & \chdr {semantics} & \rhdr {pre-/post-condition} \\ \capsep
1899
1899
\begin {itemdescr }
1900
1900
\pnum
1901
1901
\ensures
1902
- The postconditions of this function are indicated in \tref {iostreams.basicios.init.effects }.
1902
+ The postconditions of this function are indicated in \tref {basic.ios.cons }.
1903
1903
1904
- \begin {libefftabvalue }{\tcode {basic_ios::init()} effects}{iostreams.basicios.init.effects }
1904
+ \begin {libefftabvalue }{\tcode {basic_ios::init()} effects}{basic.ios.cons }
1905
1905
\tcode {rdbuf()} &
1906
1906
\tcode {sb} \\
1907
1907
\tcode {tie()} &
2122
2122
2123
2123
\pnum
2124
2124
\ensures
2125
- The postconditions of this function are indicated in \tref {iostreams.copyfmt.effects }.
2126
-
2125
+ The postconditions of this function are indicated in \tref {basic.ios.copyfmt }.
2127
2126
2128
2127
\begin {LibEffTab }{\tcode {basic_ios::copyfmt()} effects}
2129
- {iostreams.copyfmt.effects }{Value}{1.2in}
2128
+ {basic.ios.copyfmt }{Value}{1.2in}
2130
2129
\tcode {rdbuf()} &
2131
2130
\textit {unchanged } \\
2132
2131
\tcode {tie()} &
7782
7781
\pnum
7783
7782
\effects
7784
7783
Alters the stream position within one of the
7785
- controlled sequences, if possible, as indicated in \tref {iostreams .seekoff.positioning }.
7784
+ controlled sequences, if possible, as indicated in \tref {stringbuf .seekoff.pos }.
7786
7785
7787
- \begin {libtab2 }{\tcode {seekoff} positioning}{iostreams .seekoff.positioning }
7786
+ \begin {libtab2 }{\tcode {seekoff} positioning}{stringbuf .seekoff.pos }
7788
7787
{p{2.5in}l}{Conditions}{Result}
7789
7788
\tcode {(which \& ios_base::in)}\tcode { == ios_base::in} &
7790
7789
positions the input sequence \\ \rowsep
7805
7804
\pnum
7806
7805
For a sequence to be positioned,
7807
7806
the function determines \tcode {newoff} as indicated in
7808
- \tref {iostreams.newoff.values }.
7807
+ \tref {stringbuf.seekoff.newoff }.
7809
7808
If the sequence's next pointer
7810
7809
(either
7811
7810
\tcode {gptr()}
7814
7813
is a null pointer and \tcode {newoff} is nonzero,
7815
7814
the positioning operation fails.
7816
7815
7817
- \begin {libtab2 }{\tcode {newoff} values}{iostreams.newoff.values }
7816
+ \begin {libtab2 }{\tcode {newoff} values}{stringbuf.seekoff.newoff }
7818
7817
{lp{2.0in}}{Condition}{\tcode {newoff} Value}
7819
7818
\tcode {way == ios_base::beg} &
7820
7819
0 \\ \rowsep
8786
8785
\indexlibrary {\idxcode {fopen}}%
8787
8786
with the second argument determined from
8788
8787
\tcode {mode \& \~ {}ios_base::ate}
8789
- as indicated in \tref {iostreams.file .open.modes }.
8788
+ as indicated in \tref {filebuf .open.modes }.
8790
8789
If \tcode {mode} is not some combination of flags shown in the table then
8791
8790
the open fails.
8792
8791
8793
- \begin {floattable }{File open modes}{iostreams.file .open.modes}
8792
+ \begin {floattable }{File open modes}{filebuf .open.modes}
8794
8793
{cccccl}
8795
8794
\topline
8796
8795
\multicolumn {5}{|c}{\tcode {ios_base} flag combination} & \tcode {stdio} equivalent \\
9175
9174
The function determines one of three values for the
9176
9175
argument \tcode {whence}, of type
9177
9176
\tcode {int},
9178
- as indicated in \tref {iostreams .seekoff.effects }.
9177
+ as indicated in \tref {filebuf .seekoff }.
9179
9178
9180
- \begin {libtab2 }{\tcode {seekoff} effects}{iostreams .seekoff.effects }
9179
+ \begin {libtab2 }{\tcode {seekoff} effects}{filebuf .seekoff}
9181
9180
{ll}{\tcode {way} Value}{\tcode {stdio} Equivalent}
9182
9181
\tcode {basic_ios::beg} & \tcode {SEEK_SET} \\
9183
9182
\tcode {basic_ios::cur} & \tcode {SEEK_CUR} \\
10459
10458
10460
10459
\pnum
10461
10460
\tcode {Allocator} shall satisfy the \oldconcept {Allocator} requirements
10462
- (\tref {utilities. allocator.requirements }).
10461
+ (\tref {allocator.req }).
10463
10462
10464
10463
\pnum
10465
10464
\begin {example }
10802
10801
10803
10802
\pnum
10804
10803
Template parameters named \tcode {Allocator} shall satisfy the
10805
- \oldconcept {Allocator} requirements (\tref {utilities. allocator.requirements }).
10804
+ \oldconcept {Allocator} requirements (\tref {allocator.req }).
10806
10805
10807
10806
\rSec 3[fs.req.namespace]{Namespaces and headers}
10808
10807
@@ -12984,10 +12983,10 @@
12984
12983
12985
12984
\pnum
12986
12985
This enum specifies constants used to identify the format of the character
12987
- sequence, with the meanings listed in \tref {enum.path.format }.
12986
+ sequence, with the meanings listed in \tref {fs. enum.path.format }.
12988
12987
12989
12988
\begin {floattable }
12990
- {Enum \tcode {path::format}}{enum.path.format}{lp{4in}}
12989
+ {Enum \tcode {path::format}}{fs. enum.path.format}{lp{4in}}
12991
12990
\topline
12992
12991
\lhdr {Name} & \rhdr {Meaning} \\ \capsep
12993
12992
\tcode {native_format} & The native pathname format. \\ \rowsep
@@ -13051,14 +13050,14 @@
13051
13050
\pnum
13052
13051
The \tcode {enum class} type \tcode {copy_options}
13053
13052
is a bitmask type\iref {bitmask.types } that specifies bitmask constants used to control the semantics of
13054
- copy operations. The constants are specified in option groups with the meanings listed in \tref {fs.enum.copy_options }.
13053
+ copy operations. The constants are specified in option groups with the meanings listed in \tref {fs.enum.copy.opts }.
13055
13054
The constant \tcode {none} represents the empty bitmask, and
13056
13055
is shown in each option group for purposes of exposition;
13057
13056
implementations shall provide only a single definition.
13058
13057
Every other constant in the table represents a distinct bitmask element.
13059
13058
13060
13059
\begin {floattable }
13061
- {Enum class \tcode {copy_options}}{fs.enum.copy_options }
13060
+ {Enum class \tcode {copy_options}}{fs.enum.copy.opts }
13062
13061
{lp{4in}}
13063
13062
\topline
13064
13063
\ohdrx {2}{Option group controlling \tcode {copy_file} function effects for existing target files} \\ \rowsep
@@ -13168,13 +13167,13 @@
13168
13167
The \tcode {enum class} type \tcode {perm_options}
13169
13168
is a bitmask type\iref {bitmask.types } that specifies bitmask constants used to
13170
13169
control the semantics of permissions operations,
13171
- with the meanings listed in \tref {enum.perm_options }.
13170
+ with the meanings listed in \tref {fs. enum.perm.opts }.
13172
13171
The bitmask constants are bitmask elements.
13173
- In \tref {enum.perm_options } \tcode {perm} denotes a value of type \tcode {perms}
13172
+ In \tref {fs. enum.perm.opts } \tcode {perm} denotes a value of type \tcode {perms}
13174
13173
passed to \tcode {permissions}.
13175
13174
13176
13175
\begin {floattable }
13177
- {Enum class \tcode {perm_options}}{enum.perm_options }{x{.15\hsize }x{.70\hsize }}
13176
+ {Enum class \tcode {perm_options}}{fs. enum.perm.opts }{x{.15\hsize }x{.70\hsize }}
13178
13177
\topline
13179
13178
\lhdr {Name} &
13180
13179
\rhdr {Meaning} \\ \capsep
@@ -13198,12 +13197,12 @@
13198
13197
\pnum
13199
13198
The \tcode {enum class} type \tcode {directory_options} is a bitmask
13200
13199
type\iref {bitmask.types } that specifies bitmask constants used to identify
13201
- directory traversal options, with the meanings listed in \tref {fs.enum.directory_options }.
13200
+ directory traversal options, with the meanings listed in \tref {fs.enum.dir.opts }.
13202
13201
The constant \tcode {none} represents the empty bitmask;
13203
13202
every other constant in the table represents a distinct bitmask element.
13204
13203
13205
13204
\begin {floattable }
13206
- {Enum class \tcode {directory_options}}{fs.enum.directory_options }
13205
+ {Enum class \tcode {directory_options}}{fs.enum.dir.opts }
13207
13206
{lp{3in}}
13208
13207
\topline
13209
13208
\lhdr {Name} &
0 commit comments