Guest User

Untitled

a guest
Jul 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. "An elaborated-type-specifier may be used to refer to a
  2. previously declared class-name or enum-name even though
  3. the name has been hidden by a non-type declaration. **The
  4. class-name or enum-name in the elaborated-type-specifier
  5. may either be a simple identifier or be a qualified-id.**"
  6.  
  7. elaborated-type-specifier:
  8. class-key attribute-specifier-seqopt nested-name-specifieropt identifier
  9. class-key nested-name-specifieropt templateopt simple-template-id
  10. enum nested-name-specifieropt identifier
  11.  
  12. 7.1.5.3 Elaborated type specifiers
  13.  
  14. elaborated-type-specifier:
  15. class-key ::opt nested-name-specifieropt identifier
  16. class-key ::opt nested-name-specifieropt templateopt template-id
  17. enum ::opt nested-name-specifieropt identifier
  18. typename ::opt nested-name-specifier identifier
  19. typename ::opt nested-name-specifier templateopt template-id
  20.  
  21. The class-name or enum-name in the elaborated-type-specifier
  22. may either be a simple identifier or be a qualified-id
Add Comment
Please, Sign In to add comment