BGL question: non local exit by throwing an exception

27 Dec
2005
27 Dec
'05
9:02 a.m.
Hi, 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. Or are there nicer ways to achive the same goal? Thanks in advance, andreas
7059
Age (days ago)
7061
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andreas Fabri
-
Douglas Gregor