Boost logo

Boost Users :

From: Jens Müller (jens.mueller_at_[hidden])
Date: 2007-02-21 11:30:18


David Abrahams wrote:

>
> Well, I'm not sure. Should BFS crash when used on an empty graph?

Well - I also passed it an invalid vertex descriptor:
*vertices(g).first, which was in that case equal to *vertices(g).second ...

It then crashed when BFS tried to get the out edge iterator ...


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