9 Sep
2009
9 Sep
'09
4:54 p.m.
2009/9/9 Steven Watanabe
Nat Goodspeed wrote:
Um -- I'm under the impression that decrementing the iterator returned by end() is discouraged. There are containers for which that definitely would not work.
It should work for any container that supports bidirectional iterators.
...except std::vector, iirc.