M
Marc Schellens
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));
}
???
thanks,
marc
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));
}
???
thanks,
marc