18 Mar
2005
18 Mar
'05
4:10 a.m.
On Mar 17, 2005, at 6:58 PM, Sachin Ahuja wrote:
Hi all:
Is it possible to access the container type that represents the edge-list of a graph.
That is, if a graph type is like so: typedef adjacency_list< vecS, vecS, bidirectionalS > graph_type; then, is it possible to do write something like this: typedef typename graph_type::EdgeListContainer EdgeListC;
Ditto for the container type that represents the vertex set of a graph.
It is not possible to access this information in an adjacency_list right now, although we can easily add the typedefs. However, the element types of these containers are implementation details, so I'm not quite sure how much useful information you'll actually get from the typedefs. Doug