Quantcast
Channel: iterator – MC++ BLOG
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Improved Iterators with Ranges

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. Unified Lookup...

View Article



Image may be NSFW.
Clik here to view.

The Iterator Protocol

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.   Here is the question I want to answer: What interface must a...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images