![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
Phantomape
这个作者很懒,什么都没留下…
展开
-
Smart Pointers
std::unique_ptr A non-null std::unique_ptr always owns what it points to. Copying is not allowed but you can use move to transfer ownership to another pointer. Upon destruction, it destroys the resou原创 2017-03-23 02:33:07 · 389 阅读 · 0 评论 -
Singleton
The basic singleton// Singleton.h class Singleton { public: static Singleton* Instance(){ if(!pInstance_) pInstance_ = new Singleton; return pInstance_; } private:原创 2017-03-23 05:40:22 · 401 阅读 · 0 评论