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

3885. 'op' should be in [zombie.names]

Section: 16.4.5.3.2 [zombie.names] Status: Tentatively Ready Submitter: Jonathan Wakely Opened: 2023-02-11 Last modified: 2023-03-22

Priority: Not Prioritized

View all issues with Tentatively Ready status.

Discussion:

C++98 and C++11 defined a protected member std::bind1st::op so 'op' should still be a reserved name, just like 'bind1st' itself.

[2023-03-22; Reflector poll]

Set status to Tentatively Ready after seven votes in favour during reflector poll.

Proposed resolution:

This wording is relative to N4928.

  1. Modify 16.4.5.3.2 [zombie.names] as indicated:

    -2- The following names are reserved as members for previous standardization, and may not be used as a name for object-like macros in portable code:

    1. (2.1) — argument_type,

    2. […]

    3. (2.3) — io_state,

    4. (2.?) — op,

    5. (2.4) — open_mode,

    6. […]