<< |  >>
#677 Dodano: 30-05-2009 22:15. Głosów: 94
//konstruktor
assert(instanceCount == 0, "This was meant to be a singleton, but I didn't want to write all the code. Since somebody has already created an instance of this class, you'll have to ask him for a pointer.");

instanceCount++;
<< |  >>