This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.

### 2666. Bitmask operations should use bitmask terms

Section: 29.12 [filesystems] Status: NAD Editorial Submitter: Jonathan Wakely Opened: 2014-06-30 Last modified: 2017-06-15

Priority: 3

View all other issues in [filesystems].

View all issues with NAD Editorial status.

Discussion:

C++14 17.5.2.1.3 Bitmask types [bitmask.types] paragraph 4 specifies:

> The following terms apply to objects and values of bitmask types:
> - To set a value Y in an object X is to evaluate the expression X |= Y.
> - To clear a value Y in an object X is to evaluate the expression X &= ~Y.
> - The value Y is set in the object X if the expression X & Y is nonzero.

The TS should use these forms where applicable throughout the document.

[2016-02, Jacksonville]

This is an editoral change.

[Apr 2016 Issue updated to address the C++ Working Paper. Previously addressed File System TS]

Proposed resolution: