Error: C++ base class needs at least one virtual function
Johan Engelen
j at j.nl
Sun Jul 28 09:27:56 UTC 2019
On Saturday, 27 July 2019 at 19:58:05 UTC, Ethan wrote:
> I know how this is going to get in to a discussion about how
> virtual destructors are necessary, but in this case it's not
> and I know better than the compiler. tl;dr is "How do I make
> the compiler behave the way I want it to?"
Can I rephrase your point as this?
Normal D classes do not require their parent to have at least one
virtual function, but extern(C++) classes do. Please remove this
limitation from extern(C++) classes.
-Johan
More information about the Digitalmars-d
mailing list