0

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?

kknnii
  • 1
  • 1
  • Is the function from boost::graph? Or is it home made? Boost graph documentation for their functions will tell you. – ravenspoint Feb 07 '23 at 02:11

0 Answers0