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: nob...@puremagic.com Reporter: bcarnea...@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. --