digitalmars.D.bugs - [Issue 21002] New: make std.exception enforce dip1008 agnostic
- d-bugmail puremagic.com (17/18) Jul 01 2020 https://issues.dlang.org/show_bug.cgi?id=21002
https://issues.dlang.org/show_bug.cgi?id=21002 Issue ID: 21002 Summary: make std.exception enforce dip1008 agnostic Product: D Version: D2 Hardware: x86_64 OS: Other Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: bcarneal11 gmail.comFrom a perusal of phobos exception.d it appears that enforce can be made dip1008 friendly by specialization of the bailOut routine (line 512 currently) and its caller (line 437 currently). Secondarily, it also appears that such specialization could avoid an .idup. --
Jul 01 2020