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