virtual destructor in C++ integration: bug or me being stupid?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at
Tue Dec 29 10:41:41 PST 2015

On Tuesday, 29 December 2015 at 18:32:23 UTC, Atila Neves wrote:
> The problem here is that I don't know what the workaround is.

The one I used (well, last time I tried this) was to just put a 
dummy function in the D interface that is a placeholder for it.

interface C++Class {
    // at the same place as
    void _dontCallMeIamjustadestructor();
    void other_function_you_actually_want();

More information about the Digitalmars-d-learn mailing list