DIP22 - private symbol visibility

Max Samukha maxsamukha at gmail.com
Tue Jun 4 21:51:56 PDT 2013


On Tuesday, 4 June 2013 at 18:33:21 UTC, Steven Schveighoffer 
wrote:

>
> Since protected access is actually ESSENTIAL in OOP (at least, 
> some form of virtual non-public function access, private is not 
> virtual, so it would be disastrous to remove protected), I am 
> wondering whether Walter really meant "package", as that has 
> very little utility.
>
> Care to answer, Walter?
>
> -Steve

'package' cannot possibly solve the problem because the protected 
members should be accessible outside of the defining package.



More information about the Digitalmars-d mailing list