Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] getting an edge_descriptor of a reverse_graph
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-12-23 09:44:58


On Thu, 22 Dec 2011, Alex Hagen-Zanker wrote:

> On 20/12/2011 17:00, Alex Hagen-Zanker wrote:
>> On 20/12/2011 16:22, Jeremiah Willcock wrote:
>>> On Tue, 20 Dec 2011, Alex Hagen-Zanker wrote:
>>>
>>>> I upgraded from boost 1.45 to 1.48 and there are some breaking changes
>>>> related to reverse_graph
> Dear Jeremiah,
>
> Thank you for applying the earlier patch to the trunk. Using the trunk
> version now rather than 1.48, I ran into some other issues that I thought
> required a patch too:
>
> https://svn.boost.org/trac/boost/ticket/6313
>
> I hope I am right in using detail::reverse_graph_edge_property_map as a
> reversed edge wrapper around my existing edge_property_maps. For use with
> some property maps it did require me to add a default constructor and const
> reference operator[](key) const {} though.
>
> The class reverse_graph_edge_property_map seems very useful, if not
> essential, will it remain in the detail namespace? Or are you planning a more
> generic reverse_graph_property_map (would be happy to make a patch for that
> too).

The reverse_graph_edge_property_map class is in fact internal; see the
documentation for how to get that map in an "official" way.

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net