Why physically move anything?Because the array is passed on to another function, and the interface to that functions says that it processes the list from the first element to the last. An iterator would makes sense if I process the array myself.
In reply to Re^2: Rotating an array
by rovf
in thread Rotating an array
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |