21 Feb
2005
21 Feb
'05
10:04 a.m.
Douglas Gregor
With listS, you'll need to create and maintain a mapping from vertices to index values, e.g., add a property
to the vertex properties, and be sure to set these properties to numbers in the range [0, num_vertices(g)). For instance, with graph g of type Graph:
Thanks. I noticed it myself. Personally I don't like software constructs which do or don't work depending on some (template) parameter. I should make it work for every container (e.g. by using a std::map) or for no container. However I make this promise without deep knowledge of boost::graph internals... Wkr, me