fixed a little buglet in the spec of Incrementable Iterator

[SVN r23511]
This commit is contained in:
Jeremy Siek
2004-07-13 20:06:07 +00:00
parent f0bc339d55
commit aa62f4f9c7

View File

@ -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 |