On Wed, Mar 21, 2012 at 12:33:13PM +0100, Stephan Bergmann wrote:
But that is completely unrelated to whether you can only throw
derivations of std::exception or also things like int 5.
Yes, sorry for mixing that in. The problem is can-throw-by-default. If one
would be required to spec what one would throw (java checked exceptions like),
one would at least _see_ if something can throw something overly generic (the
equivalent of an void*) and could take precautions.
Best,
Bjoern
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.