What is the Utility of Parent Class Method Hiding in Inheritance?

ag0aep6g anonymous at example.com
Mon Jan 14 11:15:46 UTC 2019


On 14.01.19 10:10, Vijay Nayar wrote:
> After a bit of reading, I understood the rule and how it works, but what 
> I'm missing is the "why".  Why is it desirable to hide methods from a 
> parent class which have the same name (but different arguments) as a 
> method in a class?

https://dlang.org/articles/hijack.html#derived-class-members


More information about the Digitalmars-d-learn mailing list