$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Niebler (eric_at_[hidden])
Date: 2005-10-10 16:26:08
Ian McCulloch wrote:
> Eric Niebler wrote:
>
>> Assert != exception.
>
>
> Fine. But why not use an exception as part of the mechanism for saving some
> (hopefully) recoverable data?
Because exceptions cause unwinding, and that will potentially cause
*lots* of code to execute. You don't want lots of code to execute when
you're in an unstable state. You want to call your emergency clean-up
code, dump core and die, immediately.
-- Eric Niebler Boost Consulting www.boost-consulting.com