$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Why doesn't boost::exception derive from std::exception?
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-11-06 20:27:54
> Why doesn't boost::exception derive from std::exception?
So it can be injected non-intrusively (by means of
boost::enable_error_info) as a base to other exception types, which
may derive from std::exception already.
In particular, note that Boost libraries typically call
boost::throw_exception to throw, which requires that the exception
type derives from std::exception.
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode