Commit Graph

134 Commits (94dcc353030e3537ef674acafe7cae57def283ab)

Author SHA1 Message Date
FengJungle 81bd28e821 bugfix: add destructor, and disable copy ctor 2021-10-28 21:21:56 +08:00
FengJungle 8c3b7a6a87 bugfix: delete copy ctr and copy assign for non-trivial class 2021-10-20 00:52:42 +08:00
Qiangguo Feng ad8fb8e31c
bugfix: delete copy ctr and operator= 2021-10-19 18:22:17 +08:00
FengJungle bc7425b152 feature: for factory pattern, add a new blog dir 2021-10-16 14:30:12 +08:00
FengJungle 6c2fadfa54 bugfix: fix memory leak issue for strategyPattern 2021-10-15 07:49:32 +08:00
FengJungle 7ca6b5fcc9 adjust README.md format 2021-10-14 07:56:32 +08:00
FengJungle fda85a8136 bugfix: fix memory leak issue for ObserverPattern 2021-10-14 07:54:58 +08:00
FengJungle 40a2c486d5 bugfix: fix memory leak issue 2021-10-13 23:10:44 +08:00
FengJungle a55f692048 bugfix: fix memory leak issue 2021-10-13 23:08:03 +08:00
Qiangguo Feng c103bb8897
bugfix: add destructors 2021-10-11 13:21:26 +08:00
Qiangguo Feng 3614b77b9e
Update ProxyPattern.h
add destructor for class Proxy
2021-10-09 13:41:07 +08:00
Qiangguo Feng aa498f1390
bugfix:set pointer to nullptr 2021-10-09 13:38:52 +08:00
Qiangguo Feng 72410a2d5f
Update README.md 2021-10-06 16:41:03 +08:00
Qiangguo Feng 0b91056d2e
Update README.md 2021-09-30 22:28:36 +08:00
Qiangguo Feng 9c7b1f4bf9
Update README.md 2021-09-30 12:35:33 +08:00
Qiangguo Feng bd402ae1a1
Update 05.PrototypePattern.md 2021-09-28 22:33:48 +08:00
FengJungle 035e5f4a89 add PrototypePattern markdown and upload 2 pic. 2021-09-28 22:31:34 +08:00
Qiangguo Feng bcb4a39371
Update 04.BuilderPattern.md 2021-09-19 04:50:10 +08:00
FengJungle b6feae9013 add 04.BuilderPattern.md 2021-09-19 04:48:12 +08:00
Qiangguo Feng 88241f7a07
Update 03.AbstractFactory.md 2021-09-15 21:47:18 +08:00
FengJungle 3e8904b9eb add 03.AbstractFactory.md 2021-09-15 21:39:58 +08:00
Qiangguo Feng d37087876b
Merge pull request #5 from ichdream/dp-ich
Linux平台下单例模式多线程编程支持
2021-09-13 19:30:54 +08:00
ichdream 0239628ce4 原来的main.cpp多线程执行的时候有bug,实际执行的是单线程 2021-09-10 16:37:10 +08:00
ichdream e0c7e3db25 增加单例的饿汉模式支持,饿汉单例模式本身是多线程安全的 2021-09-10 15:55:18 +08:00
ichdream 19ca5f026c 统一用Makefile管理编译过程 2021-09-10 15:23:29 +08:00
ichdream 2c293e434b 添加对Linux平台多线程单例模式调用的支持 2021-09-10 15:22:43 +08:00
Qiangguo Feng add73de3f5
Update 02.FactoryMethod.md 2021-09-09 22:29:04 +08:00
FengJungle 875e2b2bfc adjust format 2021-09-09 22:26:43 +08:00
FengJungle 687fcf5cb6 Merge branch 'master' of github.com:FengJungle/DesignPattern 2021-09-09 22:24:22 +08:00
FengJungle ff38625946 add markdown format for factoryMethod 2021-09-09 22:23:55 +08:00
Qiangguo Feng 240ad2d2fd
Update 01.SimpleFactory.md 2021-09-09 11:36:33 +08:00
Qiangguo Feng bee81868ea
Update 01.SimpleFactory.md
adjust markdown doc format
2021-09-09 11:36:10 +08:00
Qiangguo Feng 4adda6b931
Update 01.SimpleFactory.md 2021-09-09 11:35:43 +08:00
FengJungle 05577cf1c1 add markdown format for 01.SimpleFactory 2021-09-08 22:35:02 +08:00
Qiangguo Feng a258575e07
Update README.md 2021-09-07 13:30:23 +08:00
Qiangguo Feng b7b878eabf
Merge pull request #4 from ichdream/dp-ich
改用shared_ptr统一管理对象
2021-09-07 13:26:14 +08:00
ichdream 92a17eed14 类和应用对象管理统一改为shared_ptr 2021-08-30 22:19:44 +08:00
ichdream e3c2ea210e add .gitignore 2021-08-30 21:59:55 +08:00
ichdream 11e35f0589 增加项目管理工具配置Makefile文件 2021-08-30 21:57:31 +08:00
ichdream ea3ffad916 将fileencoding改为utf-8 2021-08-30 21:56:10 +08:00
ichdream 72a37f177a 改用shared_ptr统一管理对象 2021-08-30 20:13:41 +08:00
FengJungle 74259dea27 add some info into README.md 2021-04-04 21:22:03 +08:00
FengJungle 5b21352028 fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
FengJungle 80c928a497 fix memory leak 2020-11-29 15:28:46 +08:00
FengJungle ed859f709e fix memory leak part 3 2020-11-29 13:40:29 +08:00
FengJungle b287aed6cc fix memory leak part 2 2020-11-29 11:17:40 +08:00
FengJungle c77d3d9a0c Refine memory leak 1 2020-11-29 10:02:40 +08:00
FengJungle 8f767aa8b8 add Visitor Pattern 2019-11-10 22:59:08 +08:00
FengJungle 3237803068 add Template Method Pattern 2019-11-10 10:50:30 +08:00
FengJungle d12d406ed1 add Strategy Pattern 2019-11-09 21:25:30 +08:00