[Issue 18493] [betterC] Can't use aggregated type with postblit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 26 07:18:22 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18493

--- Comment #6 from Radu Racariu <radu.racariu at gmail.com> ---
I though more about this and I think betterC should imply nothrow *only for*
compiler generated code.

Making betterC nothrow by default will change semantics and basically split the
language in two, as betterC code will have 2 different defaults depending on
the switch.

This means that betterC should start error out on non nothrow code, with a
deprecation period for interim.

--


More information about the Digitalmars-d-bugs mailing list