Modify

Ticket #6313 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

some small fixes to get reverse_graph to work in trunk

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

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

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

Change History

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

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

comment:1 Changed 2 years ago by jewillco

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

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
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.