Boost logo

Geometry :

Subject: Re: [geometry] Using Boost.Geometry with a legacy class hierarchy
From: Mats Taraldsvik (mats.taraldsvik_at_[hidden])
Date: 2012-03-08 02:51:53


Hei Barend,

On 03/07/2012 07:37 PM, Barend Gehrels wrote:
> Hi Mats,
>
>
> On 7-3-2012 14:17, Mats Taraldsvik wrote:
>> Hi Barend,
>>
>> I have tried to define a random access iterator, but I am getting a
>> lot of compiler errors, possibly related to iterator conversion or
>> pointer conversion, which I don't understand. Could you take a look?
>>
>> https://gist.github.com/1852693 (most recent version)
>
> Right, using MSVC I get a lot less. But still there is. The basic
> thing is:
>
> ../../../../../../..\boost/geometry/algorithms/correct.hpp(173) :
> error C2664:
> 'boost::geometry::detail::correct::correct_ring<Ring,Predicate>::apply' :
> cannot convert parameter 1 from 'QRing *' to 'QRing *&'
>
> This is somehow related to traits like this:
> template <> struct tag<QRing*>
>
>
> We're discussing internally how to get on with things like this. Bruno
> has made a suggestion for an elegant solution (on the pointer-to-point
> related to const, etc), which I will try this weekend. That might
> change (and simplify) your approach too, so if you don't mind I will
> not spend too much on these issues...
>

No worries. :)

Would be great if you could notify us about the progress via this list,
though.

> Regards, Barend
>

Regards,
Mats

>
>
>
>
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/geometry



Geometry list run by mateusz at loskot.net