Sorry list, my brain digested the "Also the graph must have internal
vertex_index and edge_index properties."
line just after writing the previous email.
On Thu, Feb 27, 2014 at 11:56 AM, Paolo Bolzoni
Dear list, I cannot compile a simple example using the subgraph implementation. I enclosed the code in the bottom of this email. It is quite short, but it is the whole code. It does not compile with errors from inside boost/graph/detail/adjacency_list.hpp about the impossiblity of making a reference to void.
I read the subgraph documentation but I cannot understand why it does not work.
Can anyone enlighten me?
Your faithfully, Paolo
The code:
------------------ >8
#include
#include typedef boost::adjacency_list < boost::listS, boost::listS, boost::undirectedS
main_graph;
typedef boost::subgraph
sub_graph; typedef boost::graph_traits
::vertex_descriptor Bvertex; 8< ------------------