|
Boost Users : |
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-12-29 10:29:06
On Dec 27, 2005, at 4:02 AM, Andreas Fabri wrote:
> I am wondering, if it is good style to throw an exception
> in the middle of a BGL algorithm, for example during BFS
> when I have found what I want.
Yes, this is the recommended way to abort a BGL algorithm such as BFS.
Doug
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