www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21002] New: make std.exception enforce dip1008 agnostic

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.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. --
Jul 01