[fpc-pascal] 2.1.1 new protected
Florian Klaempfl
florian at freepascal.org
Mon Aug 14 10:57:21 CEST 2006
Marco van de Voort wrote:
>> It is ugly, produces warnings and is possibly forbidden in FPC 2.1.1 (I don't
>> know). A more elegant solution would be to have something like 'friend units'
>> where protected class members are visible:
>
> I wonder what the use of making a private/public/protected distinction is in
> the first place, if USES'ing units can override it at will.
Little :) Borland realized this as well and added the strict private/protected ...
More information about the fpc-pascal
mailing list