I am using adjacent lists and using vertex_descriptors.
Is there a way to check if the vertex_descriptor is NULL or 'not assigned' yet?

graph_traits < adjacent_list_graph >::vertex_descriptor vd ;

can I assign this to NULL ?
and can I use vd == NULL or vd != NULL ?

Any help/info is greatly appreciated.
Hardik
 
True religion is real living; living with all one's soul, with all one's goodness and righteousness.
-Albert Einstein

I got a simple rule about everybody. If you don't treat me right shame on you!
-Louis Armstrong


Never miss a thing. Make Yahoo your homepage.