ENH: Using Pre-increment Form ++iter
Hi,
Given that the "pre" form (++i) is never less efficient than the "post" form (i++) in C++, as the latter requires a copy of i to be made, and forAll*
already uses the pre-increment form ++i
:
Is it possible to use only the pre-increment form ++i
throughout OpenFOAM if there isn't any specific reason to use i++
within for/while loops?
Kind regards,