It doesn't matter for ints. But, for various kinds of iterators and other classes supporting ++ it can. (I guess I didn't make that clear.)
That's why the suggested practice in C++ lately has been to use ++a unless you actually need the previous value. That way when you replace that index with an iterator things don't get any slower.
In reply to Re^6: Summing Up Array Elements By Group
by gwadej
in thread Summing Up Array Elements By Group
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |