Modify

Opened 6 years ago

Closed 6 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@…> 6 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)

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

Attachment: reverse_graph.patch added

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

comment:1 Changed 6 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeremiah Willcock.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.