Closed kgreenek closed 4 years ago
Strange that boost 1.71 refuses to compile this all of a sudden but your observation seems to be correct that there are 3d types passed to a 2d function. Might be that there was a bug in boost::geometry that this case wasn't detected and that got fixed.
Can you try if applying this patch solves the problem for you?
Aha I think you are right that boost must have fixed a small bug that broke this.
That patch didn't do the trick, but doing the same thing in Polygon.h did! I sent out a PR (#116).
Thanks for investigating! My patch didn't work because there was a second location where overlaps2d
was called with a 3d type. Your fix works as well, but it is not the solution I was looking for, because overlaps2d
shouldn't be called with a 3d type in the first place.
I fixed these issues now with 84312718b1125bc8ccfce72e647b1e3b0f56467b. It should work for you too because a static_assert
now makes sure overlaps2d
is never called with a 3d type.
Awesome! Thank you!
This not a bug report, so much as a request for help.
I'm attempting to build lanelet2_routing with boost 1.71. I'm building in a bazel mono-repo, so the environment is a bit different. I think the issue is boost-version-related though.
I'm getting this deeply-nested template compiler error. I'm not very familiar with boost geometry and have been bashing my head on this for a while. It looks like something somewhere needs to be passed a 4th arg where it's only being passed 3.
Any help or insight appreciated. Thanks!