Opened 11 years ago
Closed 11 years ago
#6306 closed Bugs (fixed)
boost:edge(u, v, reverse_graph) returns edge_decriptor of non-reverse graph
Reported by: | Owned by: | Jeremiah Willcock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | reverse_graph | Cc: |
Description
boost::edge(u ,v, reverse_graph) returns a edge_descriptor of the graph that underlies reverse_graph, rather than the reverse_graph itself.
The following does not compile, when Graph is a reverse_graph:
template<typename Graph> void foo(Graph& graph) {
boost::graph_traits<Graph>::edge_descriptor e = boost::edge(0, 1, graph).first;
}
Attachments (1)
Change History (2)
by , 11 years ago
Attachment: | reverse_graph.patch added |
---|
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch that modifies edge(u,v,reverse_graph)