Skip to content

Commit fba347c

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG2851 std::filesystem enum classes are now underspecified
1 parent 73d5b4e commit fba347c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/iostreams.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12957,6 +12957,7 @@
1295712957
\pnum
1295812958
This enum class specifies constants used to identify file types,
1295912959
with the meanings listed in Table~\ref{tab:fs.enum.file_type}.
12960+
The values of the constants are distinct.
1296012961

1296112962
\begin{floattable}
1296212963
{Enum class \tcode{file_type}}{tab:fs.enum.file_type}
@@ -12999,8 +13000,10 @@
1299913000
The \tcode{enum class} type \tcode{copy_options}
1300013001
is a bitmask type\iref{bitmask.types} that specifies bitmask constants used to control the semantics of
1300113002
copy operations. The constants are specified in option groups with the meanings listed in Table~\ref{tab:fs.enum.copy_options}.
13002-
Constant \tcode{none} is shown in each option group for purposes of exposition;
13003+
The constant \tcode{none} represents the empty bitmask, and
13004+
is shown in each option group for purposes of exposition;
1300313005
implementations shall provide only a single definition.
13006+
Every other constant in the table represents a distinct bitmask element.
1300413007

1300513008
\begin{floattable}
1300613009
{Enum class \tcode{copy_options}}{tab:fs.enum.copy_options}
@@ -13144,6 +13147,8 @@
1314413147
The \tcode{enum class} type \tcode{directory_options} is a bitmask
1314513148
type\iref{bitmask.types} that specifies bitmask constants used to identify
1314613149
directory traversal options, with the meanings listed in Table~\ref{tab:fs.enum.directory_options}.
13150+
The constant \tcode{none} represents the empty bitmask;
13151+
every other constant in the table represents a distinct bitmask element.
1314713152

1314813153
\begin{floattable}
1314913154
{Enum class \tcode{directory_options}}{tab:fs.enum.directory_options}

0 commit comments

Comments
 (0)