On Friday, 4 January 2019 at 09:30:32 UTC, bauss wrote:
Your C++ example is not the same as in D because in C++ functions aren't virtual by default, they are in D.Mark your functions as virtual in your C++ example and see what happens.All functions in D are virtual by default!
Yep. Got it! Thanks :)