[basic.def.odr] Validity of duplicate enumerators CWG2530 #4788
Labels
cwg
Issue must be reviewed by CWG.
not-editorial
Issue is not deemed editorial; the editorial issue is kept open for tracking.
[basic#pre-5.12] specifies that an enumerator-definition is a declaration. According to [basic.link#8], they declare the same entity. For this example, the major implementations report that
"redefinition of enumerator 'a'".
, however, [basic.def.odr#1] didn't mention enumeratorsDoes the rule omit such a case? Also, ask the clarification of this case in this issue.
The text was updated successfully, but these errors were encountered: