Boost logo

Geometry :

Subject: [ggl] Clipping/Intersecting efficiency
From: Bruno Lalande (bruno.lalande)
Date: 2009-05-29 04:20:57


Hi,

Why not use the indirect_iterator from Boost.Iterators? Something like:

std::vector<point*> v;

cout << length(make_indirect_iterator(v.begin()),
                 make_indirect_iterator(v.end))
     << endl;

Regards
Bruno


Geometry list run by mateusz at loskot.net