[Issue 15829] New: hasElaborateDestructor doesn't work for classes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 24 13:07:20 PDT 2016


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

          Issue ID: 15829
           Summary: hasElaborateDestructor doesn't work for classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: petar.p.kirov at gmail.com

class C2 { ~this() {} }

static assert (hasElaborateDestructor!C1); // fails

--


More information about the Digitalmars-d-bugs mailing list