Changes between Initial Version and Version 3 of Ticket #2640
- Timestamp:
- Jan 14, 2011, 4:55:02 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2640
- Property Summary counting_iterator::reference lifetime tied to iterator → Legal forward iterators cannot store their referents (was: counting_iterator::reference lifetime tied to iterator)
-
Ticket #2640 – Description
initial v3 1 The iterators library needs a redesign based on the facts noted in [[#comment:2|this comment]] 2 3 The original report is below. 4 5 ---- 6 7 8 1 9 Currently, counting_iterator<T>::reference is Incrementable const&. This makes reverse_iterator< counting_iterator<T> >::dereference return a reference to a temporary variable: 2 10