Share via


Storage-Class Specifiers 

The C++ storage-class specifiers tell the compiler the duration and visibility of the object or function they declare, as well as where an object should be stored.

The following are storage class specifiers:

<A HREF="_pluslang_the_auto_keyword.htm">auto</A>
<A HREF="_pluslang_the_register_keyword.htm">register</A>
<A HREF="_pluslang_static.htm">static</A>
<A HREF="_pluslang_linkage_to_non.2d.c.2b2b_.functions.htm">extern</A>

The keyword mutable may be considered a storage class specifier. It is only available in the member list of a class definition.

<A HREF="_langref_mutable.htm">mutable</A>

See Also

Reference

Specifiers