Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-15 01:14:51

Hi Tiago,

> int main()
> {
> typedef adjacency_list<vecS> graph_t;
> typedef filtered_graph<graph_t,keep_all> f_graph_t;
> graph_traits<f_graph_t>::vertex_descriptor v =
> graph_traits<f_graph_t>::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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at