www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22951] New: Dtor missing from generated C++ header


          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.

Mar 28 2022