Files
cppdraft_translate/cppdraft/gram/key.md
2025-10-25 03:02:53 +03:00

1.9 KiB

[gram.key]

Annex A (informative) Grammar summary [gram]

A.2 Keywords [gram.key]

1

#

New context-dependent keywords are introduced into a program bytypedef ([dcl.typedef]),namespace ([namespace.def]), class ([class]), enumeration ([dcl.enum]), andtemplate ([temp]) declarations.

typedef-name:
identifier
simple-template-id

namespace-name:
identifier
namespace-alias

namespace-alias:
identifier

class-name:
identifier
simple-template-id

enum-name:
identifier

template-name:
identifier