Singletons and inheritance

Started by
0 comments, last by Remnex 22 years, 6 months ago
I was just curious if it is possible to design a base class that any classes that inherit from it become singletons? I am in a debate with a friend, and he doesn''t think it is possible. Anyone know? ------------------------------ "I''m a decorated astronaut, I don''t make those kind of mistakes." "Oh now wait a minute. Look I''ll show ya. I''ll enter the same calculations using what we like to call ''The Right Way''." -Rem Zirem Software
------------------------------"I'm a decorated astronaut, I don't make those kind of mistakes.""Oh now wait a minute. Look I'll show ya. I'll enter the same calculations using what we like to call 'The Right Way'."-RemZirem Software
Advertisement
It IS possible. Game Programming Gems I, chapter 1.3, page 38.
Dirk =[Scarab]= Gerrits

This topic is closed to new replies.

Advertisement