Single Instance in C++
If you need to have one and only one object of a type in system AND you need to have global access to it
reference
1. C++11 implementation of the Singleton design pattern
lazy-evaluated, correctly-destroyed, and thread-safe
another implementation
2. 使用时需要注意的问题
C++中static变量的release顺序和allocate顺序相反:
4. 错误版本的Implenmentation