-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C++26Targeted at C++26Targeted at C++26EWGEvolutionEvolutionpaper neededAn issue needs a paper to describe its solutionAn issue needs a paper to describe its solution
Description
C++17 defined the values of an empty enumeration to be just 0.
As-is, CWG2932 restores that rule.
However, popular implementations determine the value range of an empty enumeration to be 0 and 1, reflecting the single bit of storage assigned to the representation.
EWG should decide whether to keep the C++17 rule or adjust the wording to the implementation practice.
Metadata
Metadata
Assignees
Labels
C++26Targeted at C++26Targeted at C++26EWGEvolutionEvolutionpaper neededAn issue needs a paper to describe its solutionAn issue needs a paper to describe its solution