digitalmars.D.bugs - [Issue 18891] New: extern(C++) destructor prototype should just
- d-bugmail puremagic.com (19/19) May 20 2018 https://issues.dlang.org/show_bug.cgi?id=18891
https://issues.dlang.org/show_bug.cgi?id=18891 Issue ID: 18891 Summary: extern(C++) destructor prototype should just link; not generate field/aggregate dtor Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: turkeyman gmail.com extern(C++) classes with an extern destructor prototype still attempt to generate __xdtor locally if they have aggregate members. This functionality should be subverted in the extern(C++) dtor case, because C++ destructors always perform a full destruction. --
May 20 2018