Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] VertexProperties as a Nested Type
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-19 12:37:05


On Wed, 19 May 2010, Hossein Haeri wrote:

> Dear all,
>
> What is my chance to get VertexProperties back in
>
> adjacency_list<OutEdgeList, VertexList, Directed,
> VertexProperties, EdgeProperties,
> GraphProperties, EdgeList>
>
> as a nested type? So, for example:
>
> typedef adjacency_list<vecS, vecS, directedS, string> graph_type;
>
> where VertexProperties == string. What nested type can I use to get to string from graph_type? It would have made a lot of sense for example if the following piece of code worked:
>
> typedef graph_traits<graph_type>::vertex_type my_type;

It looks like there are typedefs graph_type::vertex_property_type and
graph_type::edge_property_type in adjacency_list. They appear to be meant
to be public, but I am not sure. See if those match what you are
expecting.

-- 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