IteratorWrapper Class Reference

Concept for iterator wrapping guidelines. More...

#include <layer.h>

Detailed Description

Concept for iterator wrapping guidelines.

There are base iterator instances like ForwardIterator and RandomAccessIterator that take a IteratorWrapper to provide the code to wrap an iterator's value with another type to produce a full and complete iterator. This is mostly to avoid repeated iterator code.

concept IteratorWrapper {
// The type of the resulting wrapped type.
typename output_type;
// The type of the underlying iterator.
typename iterator_type;
iterator_type iterator; // iterator member.
output_type wrap() const;
}

The documentation for this class was generated from the following file:
IteratorWrapper
Concept for iterator wrapping guidelines.