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 2056
Yesterday 4371
Week 37863
Month 167988
All 12055754
Currently are 168 guests and no members online
Kubik-Rubik Joomla! Extensions
Read more...
Read more...