[fpc-devel] class abstract, class sealed implementation. please review.
Alexander Klenin
klenin at gmail.com
Mon Oct 19 09:36:28 CEST 2009
On Mon, Oct 19, 2009 at 17:55, Florian Klaempfl <florian at 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?
I use hierarchies of singletons quite often, and having them sealed would hurt.
--
Alexander S. Klenin
More information about the fpc-devel
mailing list