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 4459
Yesterday 7411
Week 27687
Month 171858
All 11653012
Currently are 523 guests and no members online
Kubik-Rubik Joomla! Extensions
Read more...
Read more...