private/package methods cannot be virtual

Dicebot m.strashun at gmail.com
Tue May 7 02:11:54 PDT 2013


On Monday, 6 May 2013 at 22:25:06 UTC, Jonathan M Davis wrote:
> Now, quite a few of us would like private to become hidden from 
> overload sets
> (which would then make it so that what you suggest could work) 
> and make it so
> that nothing outside the module could override it even if it 
> were virtual, but
> that's not how it is now.

I suppose you have meant override sets. I have written DIP to 
remove them for overload sets but AFAIR override issue was not 
mentioned. Probably should as it is not that much different.


More information about the Digitalmars-d mailing list