Adding overloaded methods
Jonathan M Davis
jmdavisProg at gmx.com
Tue Feb 21 23:21:47 PST 2012
On Wednesday, February 22, 2012 08:19:09 Jacob Carlborg wrote:
> He is overloading, not overriding. You have to start notice the
> difference when reading these posts :)
Well, it's both. He's overriding a base class function with a different
signature. So, depending on how the compiler treats that, it could be
considered either both an override and an overload or just an overload. And
apparently the override attribute only applies to exact overloads.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list