Boost logo

Geometry :

Subject: [ggl] for_each_coordinate won't handle const qualified point type
From: Barend Gehrels (barend.gehrels)
Date: 2010-04-22 04:42:49


Hi,

feverzsj wrote:
> hi all,
> I found that point concept check in for_each_coordinate() won't allow
> const qualified point type. I think there are still cases when people want
> to traverse through a const point's coordinates.
> So will it a good idea to add another overloaded "
> for_each_coordinate(Point const&, Op op) "with ConstPoint concept check?
>

Yes, it is a good idea. Will be added.

Regards, Barend


Geometry list run by mateusz at loskot.net