c++11 改进设计模式 Singleton模式
摘要:关于学习 《深入应用c++11》的代码笔记:c++11之前是这么实现的templateclass Singleton{public: static T* Instance(){ if (m_pInstance == nullptr) m_pInstance = new T(); return...
阅读全文
posted @ 2015-06-28 22:56
posted @ 2015-06-28 22:56
posted @ 2015-06-22 12:48
posted @ 2015-06-08 21:21
posted @ 2015-06-07 21:29
posted @ 2015-06-07 21:11