Created on 2009-03-11.00:00:00 last changed 162 months ago
Proposed resolution:
Change header <iterator> synopsis [iterator.synopsis] as indicated:
// 24.4.4, iterator operations: ... template <classInputForwardIterator>InputForwardIterator next(InputForwardIterator x, typename std::iterator_traits<InputForwardIterator>::difference_type n = 1);
Change [iterator.operations] before p.6 as indicated:
template <classInputForwardIterator>InputForwardIterator next(InputForwardIterator x, typename std::iterator_traits<InputForwardIterator>::difference_type n = 1);
[ 2009-10 Santa Cruz: ]
Moved to Ready.
[ 2009-10-14 Daniel provided de-conceptified wording. ]
[ 2009-07 Frankfurt ]
Moved from Tentatively Ready to Open only because the wording needs to be tweaked for concepts removal.
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to Tentatively Ready.
Addresses UK 271
next/prev return an incremented iterator without changing the value of the original iterator. However, even this may invalidate an InputIterator. A ForwardIterator is required to guarantee the 'multipass' property.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg313 |
2010-10-21 18:28:33 | admin | set | messages: + msg312 |
2010-10-21 18:28:33 | admin | set | messages: + msg311 |
2010-10-21 18:28:33 | admin | set | messages: + msg310 |
2010-10-21 18:28:33 | admin | set | messages: + msg309 |
2009-03-11 00:00:00 | admin | create |