
31 Jan
2005
31 Jan
'05
3:34 p.m.
In the docs http://www.boost.org/libs/graph/doc/using_adjacency_list.html #sec:choosing-graph-type it says that the container must meet the requirements of Sequence or RandomAccessContainer. Does multi_index_container meet these requirements? Also, the operations that are needed go through boost/pending/container_traits, so you may need to overload some functions like push() for multi_index_container. Also, don't pass the address of the property into add_vertex, just pass by value. Cheers, Jeremy