Boost Users :
From: Tan Kwee Heong (tan.k.h_at_[hidden])
Date: 2005-06-23 01:27:15
The costs of throwing an exception is well described in Scott Meyer's Item
15 "More Effective C++". The key guidelines
presented were :
a) ... exceptions should be rare. After all, they indicate the
occurrence of events that are exceptional.
b) Compared to a normal function return, returning from a function
by throwing an exception may be as much as three orders of magnitude slower.
I would hope the "TerminatorFunc" or predicate would be added, at some point
"Thomas Costa" <oohrah_at_[hidden]> wrote in message
> Will a future version of BGL have a "TerminatorFunc" in all the
> visitor types?
> Throwing an exception as part of the "normal" flow of an algorithm
> seems to go against most people's C++ philosophy.
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