keywords:auto

C++ Reference

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