March 28, 2022 [Issue 22951] New: Dtor missing from generated C++ header | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22951 Issue ID: 22951 Summary: Dtor missing from generated C++ header Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: moonlightsentinel@disroot.org dtoh omits function declarations that cannot be called from C++. But that currently applies to destructors and hence allow code that breaks RAII due to instances not being destroyed on the C++ side. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply