Why doesn't boost::exception derive from std::exception?
7 Nov
2008
7 Nov
'08
3:43 a.m.
Why doesn't boost::exception derive from std::exception? -- Michael Marcin
7 Nov
7 Nov
4: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
6203
Age (days ago)
6203
Last active (days ago)
1 comments
2 participants
participants (2)
-
Emil Dotchevski -
Michael Marcin