Section: 16.4.5.3.2 [zombie.names] Status: WP Submitter: Jonathan Wakely Opened: 2023-02-11 Last modified: 2023-06-19 14:50:03 UTC
Priority: Not Prioritized
View all issues with WP 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.
[2023-06-17 Approved in Varna. Status changed: Voting → WP.]
Proposed resolution:
This wording is relative to N4928.
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:
(2.1) — argument_type,
[…]
(2.3) — io_state,
(2.?) — op,
(2.4) — open_mode,
[…]