15 May
2007
15 May
'07
10:05 p.m.
Hi,
I use boost library with for_each to loop thru my vector.
for_each(myVector.begin(),myVector.end(), bind ( &MyClass::aFunc, this, _1) );
Can you please tell me how can i loop thru the same list in reverse?
for_each(myVector.rbegin(),myVector.rend(), bind ( &MyClass::aFunc, this, _1) );