RE: [Boost-Users] Re: [BGL] Best way to abort an algorithm from w ithi n a visitor?
19 Sep
2002
19 Sep
'02
5:57 p.m.
Mark Storer [mailto:mstorer@cardiff.com] wrote:
If Boost's source were a closed book, and the only option was to throw an exception, then so be it. But that is not the case. On that note, I'm going to bring this thread back to discussion of how to use the current Boost library.
Using the Boost library as it currently stands, it appears the best way to abort the algorithm is to throw an exception. Whether or not throwing an exception is acceptable from a general programming standpoint is a topic more suited to a general C++ discussion list (if anyone decides to take it there, let me know - I'd like to follow it). Whether or not to add a return value to the BGL is a topic more suited to the main Boost mailing list. -- Jim
8106
Age (days ago)
8106
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jim.Hyslop