[Boost-bugs] [Boost C++ Libraries] #6708: Make bool boost::intersects() in is_straight_line_drawing.hpp inline?

Subject: [Boost-bugs] [Boost C++ Libraries] #6708: Make bool boost::intersects() in is_straight_line_drawing.hpp inline?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-19 17:42:59


#6708: Make bool boost::intersects() in is_straight_line_drawing.hpp inline?
-----------------------------------------------------+----------------------
 Reporter: thekyria@… | Owner: jewillco
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.49.0 | Severity: Optimization
 Keywords: straight line drawing intersects inline |
-----------------------------------------------------+----------------------
 I know the function is rather big, but it's just a suggestion.[[BR]]

 It would make is_straight_line_drawing.hpp usable as non-member in header
 (which for the moment is not the case due to intersect()) if the header is
 included in many files - multiple definition problem, as hereunder.

 {{{
 debug/testB.o: boost/graph/is_straight_line_drawing.hpp:44: multiple
 definition of `boost::intersects(double, double, double, double, double,
 double, double, double, double)'
 debug/testA.o: boost/graph/is_straight_line_drawing.hpp:44: first defined
 here
 }}}

 Notice that for other functions in is_straight_line_drawing.hpp (and
 elsewhere in boost::graph), this is not an issue due to them being
 templated.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6708>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC