![]() |
Boost : |
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk