On Sat, 04 Oct 2014 05:37:14 +0000 Ola Fosheim Grostad via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> Why should these two cases be treated different? Makes no sense, 'cause `MyWrapper` promises to nothrow. you can't make such promise for try-block. i.e. `MyWrapper` promises that the only exception that can be thrown is `LovelyException`, and it's catched, thus `MyWrapper` is marked "nothrow". you can't attach such mark to try/catch, even if you know for sure that you catched 'em all. it's a matter of style.
signature.asc
Description: PGP signature