Subject: Re: [geometry] Using Boost.Geometry with a legacy class hierarchy
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-08-14 15:59:03
On 14-8-2012 18:04, Mats Taraldsvik wrote:
> Ok, that's what I thought. :)
> As for the comment: // Check Boost.Range adaption
> It is in main.cpp and this immediately follows:
> typedef boost::range_value<QLineString>::type rv_qls;
> typedef boost::range_value<QRing>::type rv_qr;
> I don't know what they are for, and it does not look like they are
> used for anything?
I overlooked that yesterday. It is not really used, and just for
compile-time checking. I don't remember all details but probably the
first version was not 100% well defined and this was not compilable. But
now it is!
In real programs it is indeed not necessary at all.
Geometry list run by mateusz at loskot.net