Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.

[Home]Forward Sequence

Description

A Forward Sequence is a Sequence which guarantees that its elements are arranged in a definite order, and that the ordering will not change spontaneously [1]. Iterators into a forward sequence satisfy the Forward Iterator requirements.

Refinement of

Sequence

Valid expressions

Forward Sequence does not define any new expressions beyond those defined in Sequence. However, it refines the expression requirements.

 Expression  Expression type  
typename begin<s>::typeA model of Forward Iterator
typename end<s>::typeA model of Forward Iterator

Invariants

For any forward sequence s the following invariants always hold:

Models

Notes

[1] Both between compilation sessions and from iteration to iteration.

See also

Sequence, Bidirectional Sequence, Forward Iterator


Table of Contents
Last edited July 15, 2002 2:34 pm