C++ Type Specifiers

Type specifiers determine the type of the name being declared.

Syntax

type-specifier:

simple-type-name
class-specifier
enum-specifier
elaborated-type-specifier
:: class-name
const
volatile

The following sections discuss simple type names, elaborated type specifiers, and nested type names.