mirror of
https://github.com/boostorg/mpl.git
synced 2026-01-26 17:02:20 +01:00
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
<!doctype html public "-//ietf//dtd html//en">
|
|
<html><head><title>boost::mpl::Forward Iterator</title>
|
|
<link rel="stylesheet" href="./mpl_wiki.css">
|
|
</head><body bgcolor="white">
|
|
<h1><a href="./Table_of_Content.html"><img src="./mpl_logo.jpg" alt="[Home]" border=0 align="right"></a>Forward Iterator</h1><h3>Description</h3>
|
|
<p>
|
|
A Forward Iterator is an <a href="./Input_Iterator.html">Input Iterator</a> that guarantees a linear traversal over the sequence.
|
|
<p>
|
|
<h3>Refinement of</h3>
|
|
<p>
|
|
<a href="./Input_Iterator.html">Input Iterator</a>
|
|
<p>
|
|
<p>
|
|
<h3>Valid expressions</h3>
|
|
<p>
|
|
Forward Iterator does not define any new expressions beyond those defined in <a href="./Input_Iterator.html">Input Iterator</a>. However, some of the restrictions described in <a href="./Input_Iterator.html">Input Iterator</a> are relaxed.
|
|
<p>
|
|
<table border="1">
|
|
<tr><th> Expression </th><th> Expression type </th></tr>
|
|
<tr><td><code>typename i::next</code></td><td>A model of <a href="./Forward_Iterator.html">Forward Iterator</a> </td></tr>
|
|
</table>
|
|
<p>
|
|
<h3>Invariants</h3>
|
|
<p>
|
|
For any forward iterators i and j the following invariants always hold:
|
|
<ul>
|
|
<li>if <code>i</code> and <code>j</code> are dereferenceable and <code>i</code> is identical to <code>j</code>, then <code>i::next</code> is identical to <code>j::next</code>.
|
|
</ul>
|
|
<p>
|
|
<h3>See also</h3>
|
|
<p>
|
|
<a href="./Forward_Sequence.html">Forward Sequence</a>, <a href="./Input_Iterator.html">Input Iterator</a>, <a href="./Bidirectional_Iterator.html">Bidirectional Iterator</a>
|
|
<p><hr>
|
|
<a href="./Table_of_Content.html">Table of Content</a><br>Last edited July 15, 2002 10:53 am</body></html> |