
7 Nov
2008
7 Nov
'08
1:27 a.m.
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