Shadowing member in inheritance hierarchy - why

Brother Bill brotherbill at mail.com
Fri Aug 8 23:52:31 UTC 2025


D language supports shadowing members, where the shadowed member 
has same name and different type on same type.

Why is this enabled, and when should one use this advanced 
technique?


More information about the Digitalmars-d-learn mailing list