This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.
2644. [filesys.ts] [PDTS] enum classescopy_options
and perms
should be bitmask types
Section: 10.2 [filesys.ts::enum.copy_options], 10.3 [filesys.ts::enum.perms] Status: TS Submitter: P.J. Plauger Opened: 2014-01-30 Last modified: 2017-07-30
Priority: Not Prioritized
View all other issues in [filesys.ts::enum.copy_options].
View all issues with TS status.
Discussion:
Addresses: filesys.ts
enum classes copy_options
and perms
should be bitmask types.
[2014-02-08 Daniel comments and suggests wording]
Since both enum types contain enumeration values that denote the value zero, they are currently not allowed to be described as bitmask types. This issue depends on LWG issue 1450, which — if it would be accepted — would allow for applying this concept to these enumeration types.
[2014-02-13 LWG/SG-3 Issaquah: Proposed wording accepted.]
Proposed resolution:
This wording is relative to SG3 working draft and assumes that LWG 1450 has been resolved.
Change [enum.copy_options] as indicated:
This enumeration The
enum class
typecopy_options
is a bitmask type (C++11 §17.5.2.1.3) that specifies bitmask constants used to control the semantics of copy operations. The constants are specified in option groups. […]
Change [enum.perms] as indicated:
This enumeration The
enum class
typeperms
is a bitmask type (C++11 §17.5.2.1.3) that specifies bitmask constants used to identify file permissions.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4