Boost C++ Libraries: Ticket #13142: circle_formation_functor call has no effect? https://svn.boost.org/trac10/ticket/13142 <p> What effect has the call of circle_formation_functor_.ppp() in boost::polygon::detail::circle_formation_predicate::operator() ? The call seems to have no side effects, because circle_formation_functor_ is stateless and it does not affect voronoi_builder or voronoi_diagram. Is it safe to simply delete the call? </p> <p> <a href="http://www.boost.org/doc/libs/1_64_0/boost/polygon/detail/voronoi_predicates.hpp">http://www.boost.org/doc/libs/1_64_0/boost/polygon/detail/voronoi_predicates.hpp</a> </p> <p> class circle_formation_predicate { </p> <blockquote> <p> bool operator()(const site_type&amp; site1, const site_type&amp; site2, </p> <blockquote> <p> const site_type&amp; site3, circle_type&amp; circle) { </p> </blockquote> <p> if (!site1.is_segment()) { </p> <blockquote> <p> if (!site2.is_segment()) { </p> <blockquote> <p> if (!site3.is_segment()) { </p> <blockquote> <p> <em> (point, point, point) sites. if (!circle_existence_predicate_.ppp(site1, site2, site3)) </em></p> <blockquote> <p> return false; </p> </blockquote> <p> circle_formation_functor_.ppp(site1, site2, site3, circle); <em> &lt;- This call has no effect, does it? </em></p> </blockquote> </blockquote> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13142 Trac 1.4.3 anonymous Sat, 29 Jul 2017 20:39:13 GMT <link>https://svn.boost.org/trac10/ticket/13142#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13142#comment:1</guid> <description> <p> 'circle' argument is modified by the ppp() call. Please disregard this bug. </p> </description> <category>Ticket</category> </item> </channel> </rss>