Small troubles with "private"

Meta jared771 at gmail.com
Wed Nov 6 17:04:49 PST 2013


On Tuesday, 5 November 2013 at 21:01:40 UTC, John J wrote:
> On 11/05/2013 11:00 AM, bearophile wrote:
>> How to solve such little troubles? A possible idea is to add 
>> to D
>> another attribute, a kind of "private private" that is 
>> enforced inside
>> the same module. It could be named "super private" because D 
>> has the
>> "super" keyword :-) But this idea doesn't solve all the 
>> problems,
>> because sometimes you don't want to use a super private 
>> attribute.
>>
>
>
> How about "strict private"

I think "static private" is the best option (just kidding).


More information about the Digitalmars-d-learn mailing list