Boost logo

Boost Users :

Subject: [Boost-users] [BGL] VertexProperties as a Nested Type
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-05-19 10:13:40


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;

and, as a result, my_type == string. Is a similar thing possible?

TIA,
--Hossein


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