Graeme Geldenhuys schrieb:
> 2009/10/16 Paul Ishenin <webpi...@mail.ru>:
>> Sealed class is a class which can't be derived by another class. This one is
>> fully supported by delphi.
> 
> Would you mind explaining this - I never saw the benefit of a sealed
> class. 

>From a compiler developers point of view, it makes optimization easier
under certain cases (e.g. virtual method calls). It's the same as with
inline: inline has no advantage except that it is a hint to the compiler
how the code can be optimized.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to