Title: Range iteration - C++ Patterns
Open Graph Title: Range iteration - C++ Patterns
Description: Iterate over a range of elements without using iterators or indices.
Open Graph Description: Iterate over a range of elements without using iterators or indices.
Opengraph URL: https://cpppatterns.com/patterns/range-iteration.html
Domain: cpppatterns.com
| twitter:card | summary |
| twitter:creator | @sftrabbit |
| og:site_name | C++ Patterns |
| fb:app_id | 676162015844286 |
Links:
| C++Patterns | https://cpppatterns.com/ |
| https://github.com/sftrabbit/CppPatterns-Patterns | |
| https://twitter.com/cpppatterns | |
| ← Patterns | https://cpppatterns.com/ |
| CC0 Public Domain Dedication | http://creativecommons.org/publicdomain/zero/1.0/ |
| c++11 | https://cpppatterns.com/#/search/c++11 |
| range-based for loop | http://en.cppreference.com/w/cpp/language/range-for |
| argument-dependent lookup | https://en.wikipedia.org/wiki/Argument-dependent_name_lookup |
| Lines 6–8 | https://cpppatterns.com/patterns/range-iteration.html#line6 |
| Lines 11–13 | https://cpppatterns.com/patterns/range-iteration.html#line11 |
| std::vector | http://en.cppreference.com/w/cpp/container/vector |
| https://github.com/sftrabbit | |
| Fork this pattern on GitHub | https://github.com/sftrabbit/CppPatterns-Patterns/tree/master/common-tasks/ranges/range-iteration.cpp |
| Tweet | https://twitter.com/share |
| fork the project on GitHub | https://github.com/sftrabbit/CppPatterns-Patterns |
| Tweet | https://twitter.com/share |
| Joseph Mansfield | http://josephmansfield.uk/ |
Viewport: width=device-width,user-scalable=no