15 Aug
2005
15 Aug
'05
6:14 a.m.
Hi Tiago,
int main() { typedef adjacency_list<vecS> graph_t; typedef filtered_graph
f_graph_t; graph_traits ::vertex_descriptor v = graph_traits ::null_vertex(); return 0; } ..... Shouldn't null_vertex() just be defined to return the null_vertex() for the underlying graph, since the vertex descriptors are the same? Do I miss something?
Yes, null_vertex should be defined. I've just committed the attached patch to CVS, and your test program now compiles. You can either grab the current CVS version (CVS trunk), or apply the patch to 1.33 sources. Thanks, Volodya