Created on 2001-08-27.00:00:00 last changed 184 months ago
Rationale:
The LWG believes this is a request for extension, not a defect report. Additionally, nobody saw a clear need for this extension; fpos is used only in very limited ways.
Proposed resolution:
Table 88 (section 27.4.3) -- Position type requirements be updated to include increment and decrement operators.
expression return type operational note
++p fpos& p += O(1)
p++ fpos { P tmp = p;
++p;
return tmp; }
--p fpos& p -= O(1)
p-- fpos { P tmp = p;
--p;
return tmp; }
Increment and decrement operators are missing from Table 88 -- Position type requirements in [fpos].
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-10-21 18:28:33 | admin | set | messages: + msg2261 |
| 2010-10-21 18:28:33 | admin | set | messages: + msg2260 |
| 2001-08-27 00:00:00 | admin | create | |