In Boost graph, After I get a vertex_descriptor or edge_descriptor of graph from a function. How do I determine whether a vertex_descriptor or edge_descriptor is still valid? for example ,it is already out of range..
only can use try catch or there are another way?