mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-11 21:43:54 +00:00
I forget
[SVN r21648]
This commit is contained in:
parent
4d13c285ea
commit
19dbb5304c
@ -608,12 +608,12 @@ Pass Iterator, the following expressions are valid and respect the
|
|||||||
stated semantics.</p>
|
stated semantics.</p>
|
||||||
<table class="table" frame="border" rules="all">
|
<table class="table" frame="border" rules="all">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="44%" />
|
<col width="38%" />
|
||||||
<col width="39%" />
|
<col width="34%" />
|
||||||
<col width="17%" />
|
<col width="27%" />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead valign="bottom">
|
<thead valign="bottom">
|
||||||
<tr><th colspan="3">Forward Traversal Iterator Requirements (in addition to Single Pass Iterator)</th>
|
<tr><th colspan="3">Forward Traversal Iterator Requirements (in addition to Default Constructible and Single Pass Iterator)</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><th>Expression</th>
|
<tr><th>Expression</th>
|
||||||
<th>Return Type</th>
|
<th>Return Type</th>
|
||||||
@ -623,17 +623,14 @@ stated semantics.</p>
|
|||||||
<tbody valign="top">
|
<tbody valign="top">
|
||||||
<tr><td><tt class="literal"><span class="pre">X</span> <span class="pre">u;</span></tt></td>
|
<tr><td><tt class="literal"><span class="pre">X</span> <span class="pre">u;</span></tt></td>
|
||||||
<td><tt class="literal"><span class="pre">X&</span></tt></td>
|
<td><tt class="literal"><span class="pre">X&</span></tt></td>
|
||||||
<td>note: <tt class="literal"><span class="pre">u</span></tt> may
|
<td>note: <tt class="literal"><span class="pre">u</span></tt> may have a
|
||||||
have a singular
|
singular value.</td>
|
||||||
value.</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><tt class="literal"><span class="pre">++r</span></tt></td>
|
<tr><td><tt class="literal"><span class="pre">++r</span></tt></td>
|
||||||
<td><tt class="literal"><span class="pre">X&</span></tt></td>
|
<td><tt class="literal"><span class="pre">X&</span></tt></td>
|
||||||
<td><tt class="literal"><span class="pre">r</span> <span class="pre">==</span> <span class="pre">s</span></tt> and
|
<td><tt class="literal"><span class="pre">r</span> <span class="pre">==</span> <span class="pre">s</span></tt> and <tt class="literal"><span class="pre">r</span></tt> is
|
||||||
<tt class="literal"><span class="pre">r</span></tt> is
|
dereferenceable implies
|
||||||
dereferenceable
|
<tt class="literal"><span class="pre">++r</span> <span class="pre">==</span> <span class="pre">++s.</span></tt></td>
|
||||||
implies <tt class="literal"><span class="pre">++r</span>
|
|
||||||
<span class="pre">==</span> <span class="pre">++s.</span></tt></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><tt class="literal"><span class="pre">iterator_traits<X>::difference_type</span></tt></td>
|
<tr><td><tt class="literal"><span class="pre">iterator_traits<X>::difference_type</span></tt></td>
|
||||||
<td>A signed integral type representing
|
<td>A signed integral type representing
|
||||||
@ -881,7 +878,7 @@ LocalWords: TraversalTag typename lvalues DWA Hmm JGS mis enum -->
|
|||||||
<hr class="footer"/>
|
<hr class="footer"/>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<a class="reference" href="new-iter-concepts.rst">View document source</a>.
|
<a class="reference" href="new-iter-concepts.rst">View document source</a>.
|
||||||
Generated on: 2004-01-12 20:31 UTC.
|
Generated on: 2004-01-12 20:50 UTC.
|
||||||
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -525,28 +525,25 @@ concept if, in addition to ``X`` meeting the requirements of Single
|
|||||||
Pass Iterator, the following expressions are valid and respect the
|
Pass Iterator, the following expressions are valid and respect the
|
||||||
stated semantics.
|
stated semantics.
|
||||||
|
|
||||||
+-------------------------------------------------------------------------------------------+
|
+--------------------------------------------------------------------------------------------------------+
|
||||||
|Forward Traversal Iterator Requirements (in addition to Single Pass Iterator) |
|
|Forward Traversal Iterator Requirements (in addition to Default Constructible and Single Pass Iterator) |
|
||||||
+---------------------------------------+-----------------------------------+---------------+
|
+---------------------------------------+-----------------------------------+----------------------------+
|
||||||
|Expression |Return Type |Assertion/Note |
|
|Expression |Return Type |Assertion/Note |
|
||||||
+=======================================+===================================+===============+
|
+=======================================+===================================+============================+
|
||||||
|``X u;`` |``X&`` |note: ``u`` may|
|
|``X u;`` |``X&`` |note: ``u`` may have a |
|
||||||
| | |have a singular|
|
| | |singular value. |
|
||||||
| | |value. |
|
+---------------------------------------+-----------------------------------+----------------------------+
|
||||||
+---------------------------------------+-----------------------------------+---------------+
|
|``++r`` |``X&`` |``r == s`` and ``r`` is |
|
||||||
|``++r`` |``X&`` |``r == s`` and |
|
| | |dereferenceable implies |
|
||||||
| | |``r`` is |
|
| | |``++r == ++s.`` |
|
||||||
| | |dereferenceable|
|
+---------------------------------------+-----------------------------------+----------------------------+
|
||||||
| | |implies ``++r |
|
|``iterator_traits<X>::difference_type``|A signed integral type representing| |
|
||||||
| | |== ++s.`` |
|
| |the distance between iterators | |
|
||||||
+---------------------------------------+-----------------------------------+---------------+
|
| | | |
|
||||||
|``iterator_traits<X>::difference_type``|A signed integral type representing| |
|
+---------------------------------------+-----------------------------------+----------------------------+
|
||||||
| |the distance between iterators | |
|
|``traversal_category<X>::type`` |Convertible to | |
|
||||||
| | | |
|
| |``forward_traversal_tag`` | |
|
||||||
+---------------------------------------+-----------------------------------+---------------+
|
+---------------------------------------+-----------------------------------+----------------------------+
|
||||||
|``traversal_category<X>::type`` |Convertible to | |
|
|
||||||
| |``forward_traversal_tag`` | |
|
|
||||||
+---------------------------------------+-----------------------------------+---------------+
|
|
||||||
|
|
||||||
.. TR1: forward_traversal_iterator_tag changed to
|
.. TR1: forward_traversal_iterator_tag changed to
|
||||||
forward_traversal_tag for consistency
|
forward_traversal_tag for consistency
|
||||||
|
Loading…
x
Reference in New Issue
Block a user