Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 03/21/2012 12:28 PM, Bjoern Michaelsen wrote:
On Wed, Mar 21, 2012 at 11:54:09AM +0100, Stephan Bergmann wrote:
It does *not* add "another _untyped_ return path," at least not any more so
than it would do if throwable types in C++ were restricted to some specific
subset.

Thats exactly the point. In a statically typed environment the default would
have needed to be "cant throw anything, unless explicitly stating otherwise".

But that is completely unrelated to whether you can only throw derivations of std::exception or also things like int 5. I think I lost you.

Stephan

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.