C++ keywords: for - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ keywords: for

From cppreference.com
< cpp‎ | keyword

### [edit] Usage

- `for` loop: as the declaration of the loop
- range-based `for` loop: as the declaration of the loop (since C++11)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/keyword/for&oldid=44480"