class FinalClass1
{
public:
static
FinalClass1* GetInstance()
{
return new FinalClass1;
}
static void
DeleteInstance( FinalClass1* pInstance)
{
delete pInstance;
pInstance = 0;
}
private:
FinalClass1() {}
~FinalClass1() {}
};
Copyright 2011-2020 © MallocFree. All rights reserved.