#include <Singleton.h>
Static Protected Member Functions | |
template<class T> | |
static void | create (T *&ptr) |
static void ZThread::LazyInstantiation::create | ( | T *& | ptr | ) | [inline, static, protected] |
Create an instance of an object, using new, that will be destroyed when an associated Destroyer object (allocated statically) goes out of scope.
ptr | reference to location to receive the address of the allocated object |