Could someone explain with the code below generates an error? The code worked fine with a standard boost graph (ie not a subgraph<>)......
I can create the sub graph, but cannot access the bundled properties data:
typedef adjacency_list<listS,
listS,
undirectedS,
VertexData,
property<edge_index_t, int, EdgeData> > GraphType;
typedef subgraph<GraphType> SubGraphType;
SubGraphType SubGraph;
SubGraphType::vertex_descriptor V = add_vertex(SubGraph);
SubGraph[V].ID=1; ////ERROR!!!!!!
Sincerely,
John