Boost logo

Boost Users :

From: Patrick J. LoPresti (lopresti_at_[hidden])
Date: 2019-08-28 16:16:03


"Phil Endecott" <spam_from_boost_users_at_[hidden]> writes:

> Forgive me if I have misunderstood, but how can that cause
> Boost.Polygon to see my specialisation when it looks up
> polygon_traits<std::array<Point,3>> ?

I had a similar problem.

As it turns out, Boost.Polygon already uses a level of indirection
internally. You can specialize boost_polygon_traits_general (instead of
boost_polygon_traits).

This is undocumented, but it was the only way I found to get it working.

I would argue this is a bug, or at least a deficiency. Not sure if the
right fix is to change the documentation or the implementation.

 - Pat


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net