Writing a custom iterator in modern C++
Writing a custom iterator in modern C++ An experimental Forward Iterator written from scratch to boost up hand-made containers. An iterator is an object that points to an element inside a container. Like a pointer, an iterator can be used to access the element it points to and can be moved through the content of the container. Each container in the C++ Standard Library provides its own iterator, as well as some methods to retrieve it. Using iterators is quite easy: obtain an instance from a con...
Many Standard Library Standard Library Do Standard Library Bidirectional Iterator Forward Iterator Random Access Iterator
Source: internalpointers.com