Reserved Words (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, By Category Index


Reserved words cannot be used as identifiers. That is, reserved words cannot be used to name:

  • Variables, constants
  • Functions
  • Classes, enums

If you attempt to use a reserved word as an identifier, the C++ compiler emits an error message that is specific to the situation, such as:

 <name> is not a valid identifier (C++).

All of the C++Builder keywords are reserved words. Here are a few examples:

Unimplemented, Reserved Words

The following words are reserved words but are not yet implemented in C++Builder. These words are ignored by the compiler if specific compiler flags are set (see the description of each word for detailed information). These words are also listed in the Keywords, Alphabetical Listing Index.

See Also