Opened 11 years ago

Closed 11 years ago

#6313 closed Bugs (fixed)

some small fixes to get reverse_graph to work in trunk

Reported by: Alex Hagen-Zanker <ahh34@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.48.0 Severity: Problem
Keywords: reverse_graph Cc:

Description

There seems to be a mistake in the operator[] to access edge (or vertex) bundles using the new reverse_graph_edge_descriptor (or the old graph_vertex_descriptor).

instead of graph[convert(descriptor)] it says convert(graph[descriptor]) which does not compile.

Also, I am using detail::reverse_graph_edge_property_map as a reverse graph adaptor for edge_property_maps, but ran into missing default constructor and const ref operator[](key)const{}, which are added in the patch.

Attachments (1)

reverse_graph.patch (2.1 KB ) - added by Alex Hagen-Zanker <ahh34@…> 11 years ago.
patch that modifies operator[] accessing edge and vertex bundles. And extending reverse_graph_edge_property_map

Download all attachments as: .zip

Change History (2)

by Alex Hagen-Zanker <ahh34@…>, 11 years ago

Attachment: reverse_graph.patch added

patch that modifies operator[] accessing edge and vertex bundles. And extending reverse_graph_edge_property_map

comment:1 by Jeremiah Willcock, 11 years ago

Resolution: fixed
Status: newclosed

(In [76439]) Applied some fixes from #6313; fixes #6313

Note: See TracTickets for help on using tickets.