My implementation of Singletone in C++