i have a question, we know that ++i is faster to use as a iterator in for loop for classes such as list, because compiler doesn't create a temp object to store previous value. But, does that work also for int? I mean is ++i faster to use than i++ in for loop with int?
for(auto it = myList.begin(); it != myList.end(); ++it) {} - faster
for(auto it = myList.begin(); it != myList.end(); it++) {} - slower
for(int i=0; i<SIZE; ++i) {} - faster?
for(int i=0; i<SIZE; i++) {} - slower?