Commit Graph

97 Commits (7235d125ef4c6a05cebb756cf6d7818e56758539)

Author SHA1 Message Date
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
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