![]() |
|
#1
|
|||
|
|||
How to make both Base and Derived class a SingletonHi All,
I know how to make a class as Singleton. Example as below. CPP / C++ / C Code:
Now suppose i have to derive a class from Test and want to create an object to the derived class which should be a Singleton object. How can i achieve this. Can any one help me to solve this problem Thanks and Regards Vikram Last edited by LuciWiz : 16-May-2008 at 04:10.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help With Class Inhertance | doom1992 | CPP / C++ Forum | 5 | 22-Oct-2007 20:06 |
| Classes and allocating memory | BlueFireCO. | CPP / C++ Forum | 13 | 26-Jul-2007 20:31 |
| help with stl vector of non-homogenous derived objects | mpakala | CPP / C++ Forum | 2 | 12-Jan-2007 08:51 |
| Accessing constructors of a base class explicitly in the derived class | nethravathi.mn | CPP / C++ Forum | 1 | 27-Sep-2006 17:13 |
| References to base class to access derived class only members | mirizar | CPP / C++ Forum | 3 | 03-Dec-2005 20:40 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The