Boost logo

Boost Users :

From: Hardik Kheskani (hardik.kheskani_at_[hidden])
Date: 2008-03-26 06:16:04


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

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net