
28 Aug
2019
28 Aug
'19
10:16 a.m.
"Phil Endecott" <spam_from_boost_users@chezphil.org> 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