会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
熊云港
首页
新随笔
联系
管理
2020年12月20日
单例模式
摘要: C++单例模式 单例饿汉式 加载类的时候初始化(不使用也会构造类,空间换时间) #include <stdio.h> #include <string> class DriverManger { private: long m_nDate; int m_nDriverNum; std::string
阅读全文
posted @ 2020-12-20 16:39 熊云港
阅读(161)
评论(0)
推荐(0)
编辑
公告