会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
itdef
2017年9月1日
设计模式 单例模式 使用模板及智能指针
摘要: 单例模式 // Singleton.cpp: 定义控制台应用程序的入口点。// #include "stdafx.h"#include <iostream>#include <memory> using namespace std; template< typename T >class Singl
阅读全文
posted @ 2017-09-01 09:32 itdef
阅读(321)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告