How to use inheritance when interfacing with C++ classes?

rempas rempas at tutanota.com
Fri Dec 10 16:52:55 UTC 2021


On Friday, 10 December 2021 at 16:42:33 UTC, Tim wrote:
>
> All virtual methods have to match exactly including order. If a 
> virtual method is missing or added, then calling this or a 
> later virtual method could call the wrong method or generate a 
> segmentation fault. Non-virtual methods have to be marked final 
> in D, but can also be removed.

Great info! I'll have everything in mind! Thanks a lot and have 
an amazing day!!!


More information about the Digitalmars-d-learn mailing list