Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "An elaborated-type-specifier may be used to refer to a
- previously declared class-name or enum-name even though
- the name has been hidden by a non-type declaration. **The
- class-name or enum-name in the elaborated-type-specifier
- may either be a simple identifier or be a qualified-id.**"
- elaborated-type-specifier:
- class-key attribute-specifier-seqopt nested-name-specifieropt identifier
- class-key nested-name-specifieropt templateopt simple-template-id
- enum nested-name-specifieropt identifier
- 7.1.5.3 Elaborated type specifiers
- elaborated-type-specifier:
- class-key ::opt nested-name-specifieropt identifier
- class-key ::opt nested-name-specifieropt templateopt template-id
- enum ::opt nested-name-specifieropt identifier
- typename ::opt nested-name-specifier identifier
- typename ::opt nested-name-specifier templateopt template-id
- The class-name or enum-name in the elaborated-type-specifier
- may either be a simple identifier or be a qualified-id
Add Comment
Please, Sign In to add comment