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

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

Section: [zombie.names] Status: WP Submitter: Jonathan Wakely Opened: 2023-02-11 Last modified: 2023-11-22

Priority: Not Prioritized

View all issues with WP status.


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.

[2023-06-17 Approved at June 2023 meeting in Varna. Status changed: Voting → WP.]

Proposed resolution:

This wording is relative to N4928.

  1. Modify [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. […]