Why has base class protection been deprecated?

David Bryant bagnose at gmail.com
Tue Apr 24 06:29:10 PDT 2012


>
> Because it doesn't make sense. All classes are derived from Object. That
> _has_ to be public, otherwise things like == wouldn't work.
>

Does the same apply for interfaces? I'm specifically implementing an 
interface with non-public visibility. This shouldn't affect the 
visibility of the implicit Object base-class.


More information about the Digitalmars-d-learn mailing list