Method hiding
Jesse Phillips
jessekphillips+D at gmail.com
Thu Jan 5 17:12:05 PST 2012
On Thursday, 5 January 2012 at 23:12:21 UTC, bearophile wrote:
> Override usage is going to be (hopefully soon) compulsory in D
> (currently you need -w to see an error). So that code without
> both static and override is going to be refused :-)
>
> Bye,
> bearophile
I guess the question I was getting at, currently there is no way
to "hide" a non-static member function like you would do in C#
with 'new.' Is that intended once 'override' is required? and if
not why have 'new' usable for static methods?
More information about the Digitalmars-d
mailing list