Skip to content

Commit 6aa71e6

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 5824505 commit 6aa71e6

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
@@ -12416,9 +12416,7 @@
1241612416
is a bitmask type~(\ref{bitmask.types}) that specifies bitmask constants used to control the semantics of
1241712417
copy operations. The constants are specified in option groups with the meanings listed in Table~\ref{tab:fs.enum.copy_options}.
1241812418
Constant \tcode{none} is shown in each option group for purposes of exposition;
12419-
implementations shall provide only a single definition. Calling a
12420-
library function with more than a single constant for an option
12421-
group results in undefined behavior.
12419+
implementations shall provide only a single definition.
1242212420

1242312421
\begin{floattable}
1242412422
{Enum class \tcode{copy_options}}{tab:fs.enum.copy_options}
@@ -13839,8 +13837,8 @@
1383913837

1384013838
\begin{itemdescr}
1384113839
\pnum
13842-
\requires At most one constant from each option group (\ref{fs.enum.copy.opts})
13843-
is present in \tcode{options}.
13840+
\requires At most one element from each option group (\ref{fs.enum.copy.opts})
13841+
is set in \tcode{options}.
1384413842

1384513843
\pnum
1384613844
\effects
@@ -14000,8 +13998,8 @@
1400013998

1400113999
\begin{itemdescr}
1400214000
\pnum
14003-
\requires At most one constant from each \tcode{copy_options}
14004-
option group (\ref{fs.enum.copy.opts}) is present
14001+
\requires At most one element from each \tcode{copy_options}
14002+
option group (\ref{fs.enum.copy.opts}) is set
1400514003
in \tcode{options}.
1400614004

1400714005
\pnum

0 commit comments

Comments
 (0)