Re:The C23 edition of Modern C is now available for free
by kanbankaren on Tuesday October 15, 2024 @04:14PM
(#41852642)
No, for fundamental datatypes pre/post-increment doesn't matter, but for classes that overload those operators, the postfix form creates a temporary object hence people write
for(auto it = begin(v); it != end(v); ++it)