[fpc-pascal] [OT] sealed?

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Oct 8 09:12:06 CEST 2013


Sven Barth wrote:
> On 07.10.2013 19:29, silvioprog wrote:
>> Hello,
>>
>> I was surfing the internet and came across this structure Delphi:
>>
>>
>> TJSONPair=  class  sealed(TJSONAncestor)
>>
>>
>> So, what is this?
> 
> Simple: You are not allowed to create child classes of sealed classes 
> (the compiler enforces this). FPC supports this since 2.4.2.

Does it prevent the creation of class helpers?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list