Boost C++ Libraries: Ticket #6708: Make bool boost::intersects() in is_straight_line_drawing.hpp inline? https://svn.boost.org/trac10/ticket/6708 <p> I know the function is rather big, but it's just a suggestion.<br /> </p> <p> 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. </p> <pre class="wiki">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 </pre><p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6708 Trac 1.4.3 Jeremiah Willcock Mon, 19 Mar 2012 20:48:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6708#comment:1 https://svn.boost.org/trac10/ticket/6708#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77415" title="Added &#34;inline&#34; to avoid multiple definition errors; fixes #6708">[77415]</a>) Added "inline" to avoid multiple definition errors; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6708" title="#6708: Feature Requests: Make bool boost::intersects() in is_straight_line_drawing.hpp inline? (closed: fixed)">#6708</a> </p> Ticket