|
Boost Users : |
Subject: Re: [Boost-users] [Boost.Graph] Accessing underlying graph of a boost::reverse_graph
From: Daniel Hofmann (daniel_at_[hidden])
Date: 2016-09-12 11:58:17
On 09/12/2016 04:35 PM, Björn Pollex wrote:
> Hello,
>
> I am currently trying to find out if there is a way to access the underlying graph of a boost::reverse_graph [1]. There does not seem to be support for this. I want to use this to generically define interior edge-properties for reversed graphs, if the underlying graph has them as well. Currently this does not work, because I cannot access the underlying graph object.
For a reverse_graph's bundled properties operator[] simply dispatches to
the underlying graph's operator[].
reverse_graph has a public GraphRef m_g member attribute.
It should be private and a implementation detail. But it isn't.
But can you elaborate a bit on your use-case?
Cheers,
Daniel J H
>
> Am I overlooking something? If not, where could I request to add this?
>
> Cheers,
>
> Björn Pollex
>
> [1]: http://www.boost.org/doc/libs/release/libs/graph/doc/reverse_graph.html
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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