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 4340
Yesterday 6193
Week 10533
Month 32207
All 12110416
Currently are 171 guests and no members online
Kubik-Rubik Joomla! Extensions
Read more...
Read more...