Alexander Klenin schrieb:
> On Mon, Oct 19, 2009 at 17:55, Florian Klaempfl <flor...@freepascal.org> 
> wrote:
>> Without discussing details, I think a singleton is a good example where
>> sealed is useful.
> 
> Why sealing a singleton is any more (or less) useful then sealing any
> other class?

As I said, it's as usefull as private/protected/strict private/strict
protected imo

> I use hierarchies of singletons quite often, and having them sealed would 
> hurt.
> 

You can still/should seal the class instanciated?
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to