auto [C++ Reference]
Keywords: keywords,auto
Date: 2008-10-14T15:42:04-0700

[[auto]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## auto

The keyword auto is used to declare local variables with automatic (i.e. not static) storage duration.

The auto keyword is purely optional and rarely used.

Use of auto is not recommended, as in new C++ standard it will be used for other purposes.

Related Topics: register, static

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •