From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-06-11 12:05:48
Stefan Seefeld <seefeld <at> sympatico.ca> writes:
> And even in C++...
> Wasn't there some discussion on this list a little while ago about using
> exceptions to interrupt tree or graph traversals, being conceptually and
> technically easier than to check after each node for various conditions ?
Throwing exception is easy way out in many situations. It doesn't make it right
though. I guess there are always exceptions that prove the rule (especially if
performance is not a concern). But if there is a way to avoid it I'd opt to it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk