[Issue 21002] New: make std.exception enforce dip1008 agnostic
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 1 15:09:20 UTC 2020
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 at puremagic.com
Reporter: bcarneal11 at gmail.com
>From a perusal of phobos exception.d it appears that enforce can be made dip
1008 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.
--
More information about the Digitalmars-d-bugs
mailing list