Re: spell checker


Subject: Re: spell checker
From: Joaquin Cuenca Abela (cuenca@celium.net)
Date: Fri Apr 13 2001 - 07:52:28 CDT


On 13 Apr 2001 14:46:04 +0200, Mike Nordell wrote:
> Nothing is as goot it can't get better. :-)
>
> I think it would be better and safer if SpellManager::instance was defined
> as
>
> SpellManager&
> SpellManager::instance()
> {
> SpellManager manager;
> return manager;
> }

?
This was we get a new instance each time that we call instance(). That
has nothing to do with a singleton pattern.
Am I missing something?

Cheers,

-- 
Joaquín Cuenca Abela
cuenca@celium.net



This archive was generated by hypermail 2b25 : Fri Apr 13 2001 - 07:53:58 CDT