Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2005-01-31 10:34:02


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk