When you want to use a user-defined type in a range-based for-loop, your user-defined type has to implement the Iterator Protocol.
There are more reasons to prefer ranges library above the classical Standard Template Library. The ranges iterators support unified lookup rules and provide additional safety guarantees.
Hunting
Today 3552
Yesterday 6374
Week 31176
Month 221252
All 11702406
Currently are 185 guests and no members online
Kubik-Rubik Joomla! Extensions
Read more...
Read more...