Skip to content

Commit 575976b

Browse files
committed
[fs.op.copy], [fs.op.copy_file] Rephrase requirements on copy_options.
Use bitmask 'element' phrasing for restrictions on copy_options. Fixes #1445.
1 parent 3b5c2d7 commit 575976b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

source/iostreams.tex

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12193,9 +12193,7 @@
1219312193
is a bitmask type~(\ref{bitmask.types}) that specifies bitmask constants used to control the semantics of
1219412194
copy operations. The constants are specified in option groups with the meanings listed in Table~\ref{tab:enum.copy_options}.
1219512195
Constant \tcode{none} is shown in each option group for purposes of exposition;
12196-
implementations shall provide only a single definition. Calling a
12197-
library function with more than a single constant for an option
12198-
group results in undefined behavior.
12196+
implementations shall provide only a single definition.
1219912197

1220012198
\begin{floattable}
1220112199
{Enum class \tcode{copy_options}}{tab:enum.copy_options}
@@ -13270,8 +13268,8 @@
1327013268

1327113269
\begin{itemdescr}
1327213270
\pnum
13273-
\requires At most one constant from each option group (\ref{enum.copy_options})
13274-
is present in \tcode{options}.
13271+
\requires At most one element from each option group (\ref{enum.copy_options})
13272+
is set in \tcode{options}.
1327513273

1327613274
\pnum
1327713275
\effects
@@ -13427,8 +13425,8 @@
1342713425

1342813426
\begin{itemdescr}
1342913427
\pnum
13430-
\requires At most one constant from each \tcode{copy_options}
13431-
option group (\ref{enum.copy_options}) is present
13428+
\requires At most one element from each \tcode{copy_options}
13429+
option group (\ref{enum.copy_options}) is set
1343213430
in \tcode{options}.
1343313431

1343413432
\pnum

0 commit comments

Comments
 (0)