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
[EMAIL PROTECTED]

Reply via email to