469,632 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.


my dinkumware docu says, vector<...>::rbegin() returns an iterator which
points just BEYOND the end of the controlled sequence.
Is that true?

so I cannot say:

for( riter i=v.rbegin(); i != v.rend(); i++)
something = (*i);


How to reverse iterate then?

for( riter i=v.rbegin(); i != v.rend(); i++)
something = (*(i+1));



Jul 19 '05 #1
0 2060

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by john smith | last post: by
10 posts views Thread by Stefan Höhne | last post: by
6 posts views Thread by Joe | last post: by
8 posts views Thread by jacek.dziedzic | last post: by
3 posts views Thread by Rune Allnor | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.