From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-19 11:24:49
From: "Alexander Terekhov" <terekhov_at_[hidden]>
> Yep. But consider that in the C++ standard itself you can find bits like:
> "Violation of the preconditions specified in a function's Required
> behavior paragraph results in undefined behavior unless the function's
> Throws paragraph specifies throwing an exception when the precondition
> is violated."
> "The class logic_error defines the type of objects thrown as exceptions
> to report errors presumably detectable before the program executes,
> such as violations of logical preconditions or class invariants."
I know. I don't agree.
> Well, another funny thing that I've recently had a chance to enjoy was
> the "pick the one you like best" DieDieDie() functions in the latest
> Sutter's MXC++ book.
Right, how many convoluted techniques of doing abort() can you come up with.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk