├── .gitbook └── assets │ ├── DmitriNesteruk.png │ └── MassimoNardone.png ├── README.md ├── SUMMARY.md ├── about-the-author.md ├── about-the-technical-reviewer.md ├── chapter-01-introduction.md ├── chapter-02-builder.md ├── chapter-03-factories.md ├── chapter-04-prototype.md ├── chapter-05-singleton.md ├── chapter-06-adapter.md ├── chapter-07-bridge.md ├── chapter-08-composite.md ├── chapter-09-decorator.md ├── chapter-10-facade.md ├── chapter-11-flyweight.md ├── chapter-12-proxy.md ├── chapter-13-chain-of-responsibility.md ├── chapter-14-command.md ├── chapter-15-interpreter.md ├── chapter-16-iterator.md ├── chapter-17-mediator.md ├── chapter-18-mememto.md ├── chapter-19-null-object.md ├── chapter-20-observer.md ├── chapter-21-state.md ├── chapter-22-strategy.md ├── chapter-23-template-method.md ├── chapter-24-visitor.md ├── chapter-25-maybe-monad.md ├── image └── 2-1.png ├── index.md ├── part-i-creational-patterns.md ├── part-ii-structural-patterns.md ├── part-iii-behavioral-patterns.md └── part-iv-functional-design-patterns.md /.gitbook/assets/DmitriNesteruk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/.gitbook/assets/DmitriNesteruk.png -------------------------------------------------------------------------------- /.gitbook/assets/MassimoNardone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/.gitbook/assets/MassimoNardone.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /about-the-author.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/about-the-author.md -------------------------------------------------------------------------------- /about-the-technical-reviewer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/about-the-technical-reviewer.md -------------------------------------------------------------------------------- /chapter-01-introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/chapter-01-introduction.md -------------------------------------------------------------------------------- /chapter-02-builder.md: -------------------------------------------------------------------------------- 1 | # 第 2 章 建造者模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-03-factories.md: -------------------------------------------------------------------------------- 1 | # 第 3 章 工厂模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-04-prototype.md: -------------------------------------------------------------------------------- 1 | # 第 4 章 原型模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-05-singleton.md: -------------------------------------------------------------------------------- 1 | # 第 5 章 单例模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-06-adapter.md: -------------------------------------------------------------------------------- 1 | # 第 6 章 适配器模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-07-bridge.md: -------------------------------------------------------------------------------- 1 | # 第 7 章 桥接模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-08-composite.md: -------------------------------------------------------------------------------- 1 | # 第 8 章 组合模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-09-decorator.md: -------------------------------------------------------------------------------- 1 | # 第 9 章 装饰器模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-10-facade.md: -------------------------------------------------------------------------------- 1 | # 第 10 章 外观模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-11-flyweight.md: -------------------------------------------------------------------------------- 1 | # 第 11 章 享元模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-12-proxy.md: -------------------------------------------------------------------------------- 1 | # 第 12 章 代理模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-13-chain-of-responsibility.md: -------------------------------------------------------------------------------- 1 | # 第 13 章 责任链模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-14-command.md: -------------------------------------------------------------------------------- 1 | # 第 14 章 命令模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-15-interpreter.md: -------------------------------------------------------------------------------- 1 | # 第 15 章 解释器模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-16-iterator.md: -------------------------------------------------------------------------------- 1 | # 第 16 章 迭代器模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-17-mediator.md: -------------------------------------------------------------------------------- 1 | # 第 17 章 中介者模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-18-mememto.md: -------------------------------------------------------------------------------- 1 | # 第 18 章 备忘录模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-19-null-object.md: -------------------------------------------------------------------------------- 1 | # 第 19 章 空对象模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-20-observer.md: -------------------------------------------------------------------------------- 1 | # 第 20 章 观察者模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-21-state.md: -------------------------------------------------------------------------------- 1 | # 第 21 章 状态模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-22-strategy.md: -------------------------------------------------------------------------------- 1 | # 第 22 章 策略模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-23-template-method.md: -------------------------------------------------------------------------------- 1 | # 第 23 章 模板方法模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-24-visitor.md: -------------------------------------------------------------------------------- 1 | # 第 24 章 访问者模式 2 | 3 | -------------------------------------------------------------------------------- /chapter-25-maybe-monad.md: -------------------------------------------------------------------------------- 1 | # 第 25 章 Maybe Monad 2 | 3 | -------------------------------------------------------------------------------- /image/2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyoo/design_patterns_in_modern_cpp_zh_sample/HEAD/image/2-1.png -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | # 索引 2 | 3 | -------------------------------------------------------------------------------- /part-i-creational-patterns.md: -------------------------------------------------------------------------------- 1 | # 第 1 部分 创建型模式 2 | 3 | -------------------------------------------------------------------------------- /part-ii-structural-patterns.md: -------------------------------------------------------------------------------- 1 | # 第 2 部分 结构型模式 2 | 3 | -------------------------------------------------------------------------------- /part-iii-behavioral-patterns.md: -------------------------------------------------------------------------------- 1 | # 第 3 部分 行为型模式 2 | 3 | -------------------------------------------------------------------------------- /part-iv-functional-design-patterns.md: -------------------------------------------------------------------------------- 1 | # 第 4 部分 函数式模式 2 | 3 | --------------------------------------------------------------------------------