会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
雪落梅藏
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
设计模式(C++)
单例模式
摘要:1、在cpp文件中 2、在h头文件中
阅读全文
posted @
2018-09-12 19:38
雪落梅藏
阅读(107)
评论(0)
推荐(0)
装饰者模式
摘要:具体实现:创建一个具体构建的类;然后为其加装饰。 它们有共同的基类。 附:参考 https://blog.csdn.net/K346K346/article/details/58056854
阅读全文
posted @
2018-08-19 21:17
雪落梅藏
阅读(107)
评论(0)
推荐(0)
观察者模式
摘要:代码来自他人博客:https://blog.csdn.net/mct_blog/article/details/34810183
阅读全文
posted @
2018-08-15 22:24
雪落梅藏
阅读(130)
评论(0)
推荐(0)
公告