Modify

Opened 6 years ago

Closed 6 years ago

#6306 closed Bugs (fixed)

boost:edge(u, v, reverse_graph) returns edge_decriptor of non-reverse graph

Reported by: Alex Hagen-Zanker <ahh34@…> Owned by: jewillco
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)

reverse_graph.patch (1.0 KB) - added by Alex Hagen-Zanker <ahh34@…> 6 years ago.
patch that modifies edge(u,v,reverse_graph)

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by Alex Hagen-Zanker <ahh34@…>

patch that modifies edge(u,v,reverse_graph)

comment:1 Changed 6 years ago by jewillco

  • Resolution set to fixed
  • Status changed from new to closed

(In [76083]) Applied patch from bug #6306; fixes #6306

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jewillco.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.