Commit Graph

106 Commits (3a9e43f6bb5394e4d368359d79cbcb49fa94560d)

Author SHA1 Message Date
Qiangguo Feng 3a9e43f6bb
Fix free jungleModel twice bug. 2023-02-21 11:29:59 +08:00
Qiangguo Feng 05094c223e
Merge pull request #9 from sterben-01/master
fix bug
2022-10-17 16:17:42 +08:00
Sterben-01 640e6ffde2 fix bug
fix segmentation fault and revise file name
2022-10-16 05:09:39 -05:00
FengJungle 72d36140b3 set released pointer to nullptr. 2022-03-10 07:53:38 +08:00
FengJungle df4294e6b8 set released pointer to nullptr. 2022-03-09 23:09:06 +08:00
FengJungle d2e449a0af bugfix: set released pointer to nullptr. 2022-03-09 22:59:11 +08:00
FengJungle 8071fabb51 feature: add lowering coupling discussions and methods. 2022-02-27 11:50:35 +08:00
FengJungle a206c10a5c update README.md: add PImpl pattern. 2022-02-26 16:10:12 +08:00
FengJungle 1d0bae0753 feature: add PImpl Pattern demo code. 2022-02-26 16:08:24 +08:00
FengJungle 7235d125ef fix some bugs 2021-10-30 14:02:27 +08:00
FengJungle cbfbfda1e8 delete unused files and delete copy ctor, copy assign for MementoPattern 2021-10-30 10:45:26 +08:00
FengJungle 0ecf749949 fix some code bug 2021-10-29 21:33:26 +08:00
FengJungle d4d7abc3ec delete copy ctor and copy assgin for BuilderPattern 2021-10-29 21:20:50 +08:00
FengJungle 990e1a53fd add destructor for Prototype Pattern 2021-10-29 21:13:29 +08:00
Qiangguo Feng f9f8fc7dab
Update README.md 2021-10-29 07:51:11 +08:00
FengJungle ba9bb070ea update README.md 2021-10-29 07:50:26 +08:00
FengJungle 5d503147c4 Merge branch 'master' of github.com:FengJungle/DesignPattern 2021-10-29 07:48:30 +08:00
FengJungle ab28359727 remove unused files for MementoPattern 2021-10-29 07:48:04 +08:00
Qiangguo Feng d955a1d895
Update README.md 2021-10-28 23:18:28 +08:00
FengJungle 6ca04a5438 bugfix: change character code : utf-8 2021-10-28 23:15:51 +08:00
FengJungle 4d8d1ca606 bugfix: change character code : utf-8 2021-10-28 21:58:09 +08:00
FengJungle 49bc9c8130 bugfix: change character code : utf-8 2021-10-28 21:26:15 +08:00
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