Boost logo

Geometry :

Subject: [ggl] pre-/post-increment op on iterators
From: Mateusz Loskot (mateusz)
Date: 2009-04-25 16:59:28


Hi,

I've noticed that in many (if not most) places where iterators
are used, they are advanced using post-increment operator
instead of the pre-increment one.
Is this intentional?

If not, I'd like to change it to pre-increment
as well as propose to add development guideline recommending
use of pre-increment operator over the post-increment.

Is this OK?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Geometry list run by mateusz at loskot.net