Translations:Development/Tutorials/Common Programming Mistakes/46/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 07:31, 26 October 2019
When using iterators, always use pre-increment and pre-decrement operators (i.e., ++itr) unless you have a specific reason not to. The use of post-increment and post-decrement operators (i.e., itr++) cause the creation of a temporary object.