40 std::vector<int>::iterator i,prev;
41 for(i=--v.end();i!=v.begin();i--) {
54 std::vector<int>::iterator i,next;
55 for(i=v.begin();next!=--v.end();i++) {
void ShiftForward(T &a, T &b, T &c)
Shift forward: set a'=c,b'=a,c'=b.
Definition: shift.h:16
void ShiftBackward(T &a, T &b, T &c)
Shift backward: set a'=b,b'=c,c'=a.
Definition: shift.h:26