boostorg / boostorg/geometry

Boost.Polygon adaptation not working

Open
#1,124 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
517
Forks
232
PR merge metrics
No merged PRs in 30d

Description

I am trying to use 'simplify' algo on a Boost.Polygon and it fails.
Please find the link to the oneline example of the issue: https://godbolt.org/z/hYofEbr68

The error is:
`/opt/compiler-explorer/libs/boost_1_81_0/boost/geometry/algorithms/simplify.hpp:606:29: error: cannot bind non-const lvalue reference of type 'boost::geometry::adapt::bp::ring_proxy >&' to an rvalue of type 'boost::geometry::ring_return_type >::type' {aka 'boost::geometry::adapt::bp::ring_proxy >'}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.