You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the enum-key is followed by a nested-name-specifier, the enum-specifier shall refer to an enumeration that was previously declared directly in the class or namespace to which the nested-name-specifier refers (i.e., neither inherited nor introduced by a using-declaration), and the enum-specifier shall appear in a namespace enclosing the previous declaration.
If an enum-head contains a nested-name-specifier, the enum-specifier shall refer to an enumeration that was previously declared directly in the class or namespace to which the nested-name-specifier refers, or in an element of the inline namespace set ([namespace.def]) of that namespace (i.e., not merely inherited or introduced by a using-declaration), and the enum-specifier shall appear in a namespace enclosing the previous declaration.
One of these was probably intended to replace the other. I don't know which.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
Duplicate sentences in dcl.enum
[dcl.enum] Duplicate sentences about redeclarations
Nov 20, 2017
[dcl.enum]/4:
Is mostly repeated in [dcl.enum]/12:
One of these was probably intended to replace the other. I don't know which.
The text was updated successfully, but these errors were encountered: