mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-21 16:42:09 +02:00
fixed a little buglet in the spec of Incrementable Iterator
[SVN r23511]
This commit is contained in:
@ -468,7 +468,8 @@ stated semantics.
|
|||||||
+--------------------------------+----------------------------------+---------------------------------------+
|
+--------------------------------+----------------------------------+---------------------------------------+
|
||||||
|``r++`` |if ``X`` is a *Writable Iterator* |if ``X`` is a *Writable Iterator* then |
|
|``r++`` |if ``X`` is a *Writable Iterator* |if ``X`` is a *Writable Iterator* then |
|
||||||
| |then convertible to ``const X&`` |``X a(r++);`` is equivalent to |
|
| |then convertible to ``const X&`` |``X a(r++);`` is equivalent to |
|
||||||
| | |``X a(r); ++r;`` |
|
| | |``X a(r); ++r;`` otherwise ``r++`` |
|
||||||
|
| | |is equivalent to ``++r`` |
|
||||||
+--------------------------------+----------------------------------+---------------------------------------+
|
+--------------------------------+----------------------------------+---------------------------------------+
|
||||||
|``*r++`` |if ``X`` is a *Readable Iterator* |if ``X`` is a *Readable Iterator* then |
|
|``*r++`` |if ``X`` is a *Readable Iterator* |if ``X`` is a *Readable Iterator* then |
|
||||||
| |then ``T`` |``T z(*r++);`` is equivalent to |
|
| |then ``T`` |``T z(*r++);`` is equivalent to |
|
||||||
|
Reference in New Issue
Block a user