- 博客(1)
- 收藏
- 关注
原创 singleton的实现
1.通常的实现方式 template class singeton { public: static T& GetInstance() { if (!mpSingleton) mpSingleton = new T(); return *mpSingleton; } static void DeInit() { if (mpSingle
2015-01-29 21:58:59
254
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅