Use of Storage Class Specifiers

From RAD Studio
Jump to: navigation, search

Go Up to Declaration Syntax Index

Provides information on C++ storage class specifiers.

Storage classes specifiers are also called type specifiers. They dictate the location (data segment, register, heap, or stack) of an object and its duration or lifetime (the entire running time of the program, or during execution of some blocks of code).

Storage class can be established by the declaration syntax, by its placement in the source code, or by both of these factors.

The keyword mutable does not affect the lifetime of the class member to which it is applied.

The storage class specifiers in C++ are:

See Also