Go to file
Qiangguo Feng 240ad2d2fd
Update 01.SimpleFactory.md
2021-09-09 11:36:33 +08:00
.vs fix memory leak 2020-11-29 15:28:46 +08:00
01.SimpleFactory Update 01.SimpleFactory.md 2021-09-09 11:36:33 +08:00
02.FactoryMethod 改用shared_ptr统一管理对象 2021-08-30 20:13:41 +08:00
03.AbstractFactory fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
04.BuilderPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
05.PrototypePattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
06.Singleton modify the names of folders 2019-10-25 00:06:52 +08:00
07.AdapterPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
08.BridgePattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
09.CompositePattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
10.DecoratorPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
11.FacadePattern fix memory leak part 3 2020-11-29 13:40:29 +08:00
12.FlyweightPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
13.ProxyPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
14.ChainOfResponsibility fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
15.CommandPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
16.InterpreterPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
17.IteratorPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
18.MediatorPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
19.MementoPattern fix memory leak part 2 2020-11-29 11:17:40 +08:00
20.ObserverPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
21.StatePattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
22.StrategyPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
23.TemplateMethodPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
24.VisitorPattern fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
.gitignore add .gitignore 2021-08-30 21:59:55 +08:00
README.md Update README.md 2021-09-07 13:30:23 +08:00

README.md

DesignPattern

Jungle设计模式系列

感谢

感谢@ichdream对本项目的贡献也欢迎和支持更多coder提出修改和指正

订正

  • 2021/09/07merge @ichdream pull request采用智能指针管理堆对象引入makefile管理工程修改文件编码格式
  • 2021/04/04为虚基类添加虚析构函数避免内存泄露
  • 2020/11/29解决内存泄露问题

代码资源:https://github.com/FengJungle/DesignPattern

01.设计模式——设计模式概述

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102513485

02.设计模式——UML类图介绍

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102576624

03.设计模式(三)——面向对象设计原则

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102578436

04.设计模式(四)——简单工厂模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102598181

05.设计模式(五)——工厂方法模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102616501

06.设计模式(六)——抽象工厂模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102618384

07.设计模式(七)——建造者模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102635881

08.设计模式(八)——原型模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102642682

09.设计模式(九)——单例模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102649056

10.设计模式(十)——适配器模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102656617

11.设计模式(十一)——桥接模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102694306

12.设计模式(十二)——组合模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102712738

13.设计模式(十三)——装饰模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102733023

14.设计模式(十四)——外观模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102752643

15.设计模式(十五)——享元模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102763849

16.设计模式(十六)——代理模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102772697

17.设计模式(十七)——职责链模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102790445

18.设计模式(十八)——命令模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102810123

19.设计模式(十九)——解释器模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102864850

20.设计模式(二十)——迭代器模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102879383

21.设计模式(二十一)——中介者模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102885567

22.设计模式(二十二)——备忘录模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102907007

23.设计模式(二十三)——观察者模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102927937

24.设计模式(二十四)——状态模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102966121

25.设计模式(二十五)——策略模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102984862

26.设计模式(二十六)——模板方法模式

博客地址:https://blog.csdn.net/sinat_21107433/article/details/102994585