使用C++11/14编写23种设计模式,代码难免会出现各种问题,请多多指教
- 01. Template Method
- 02. Strategy
- 03. Observer
- 04. Decorator
- 05. Bridge
- 06. Factory Method
- 07. Abstract Factory
- 08. Prototype
- 09. Builder
- 10. Singleton
- 11. Flyweight
- 12. Facade
- 13. Adapter
- 14. Proxy
- 15. Mediator
- 16. Composite
- 17. Iterator
- 18. Chain of Responsibility
- 19. Memento
- 20. Command
- 21. Interpreter
- 22. State
- 23. Visitor