Exception specifications on functions useless?

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Wed Mar 21 04:28:35 PDT 2012


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".

Best,

Bjoern


More information about the LibreOffice mailing list