Instigate Open Source Documentation

instigate::stl::readable_iterator Namespace Reference

Readable Iterator Concept. More...


Classes

struct  tag
 Readable Iterator Concept tag. More...
struct  interface
 Interface of the Readable Interface Concept. More...
struct  requirements
 Requirements of the Readable Iterator. More...


Detailed Description

Readable Iterator Concept.

This is a "non-intrusive" interface of the readable_iterator type. A class or built-in type T is a model of the readable_iterator concept, if it is a refinement of the instigate::generic::assignable concept with dereference() method.

A readable_iterator provides a read-only access to the corresponding element of the sequence. This concept does not define a real iterator, but rather one of iterator's properties.

Complexity:
The complexity of operations on readable_iterators is guaranteed to be amortized constant time.


© Instigate CJSC, Open Source