Boost C++ Libraries: Ticket #6306: boost:edge(u, v, reverse_graph) returns edge_decriptor of non-reverse graph https://svn.boost.org/trac10/ticket/6306 <p> boost::edge(u ,v, reverse_graph) returns a edge_descriptor of the graph that underlies reverse_graph, rather than the reverse_graph itself. </p> <p> The following does not compile, when Graph is a reverse_graph: </p> <p> template&lt;typename Graph&gt; void foo(Graph&amp; graph) { </p> <blockquote> <p> boost::graph_traits&lt;Graph&gt;::edge_descriptor e = boost::edge(0, 1, graph).first; </p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6306 Trac 1.4.3 Alex Hagen-Zanker <ahh34@…> Tue, 20 Dec 2011 16:57:27 GMT attachment set https://svn.boost.org/trac10/ticket/6306 https://svn.boost.org/trac10/ticket/6306 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">reverse_graph.patch</span> </li> </ul> <p> patch that modifies edge(u,v,reverse_graph) </p> Ticket Jeremiah Willcock Tue, 20 Dec 2011 18:49:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6306#comment:1 https://svn.boost.org/trac10/ticket/6306#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/76083" title="Applied patch from bug #6306; fixes #6306">[76083]</a>) Applied patch from bug <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6306" title="#6306: Bugs: boost:edge(u, v, reverse_graph) returns edge_decriptor of non-reverse graph (closed: fixed)">#6306</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6306" title="#6306: Bugs: boost:edge(u, v, reverse_graph) returns edge_decriptor of non-reverse graph (closed: fixed)">#6306</a> </p> Ticket