c++笔记-设计模式

1.创建型模式(5)

工厂模式(Factory)

抽象工厂模式(AbstractFactory)

单例模式(Singleton)

建造者模式(Builder)

原型模式(Prototype)

2.结构型模式(7)

桥接模式(Bridge)

适配器模式(Adapter)

装饰模式(Decorator)

组合模式(Composite)

享元模式(Flyweight)

外观模式(Facade)

代理模式(Proxy)

3.行为模式(11)

模板模式(Template)

策略模式(Strategy)

状态模式(State)

观察者模式(Observer)

备忘录模式(Memento)

中介者模式(Mediator)

命令模式(Command)

访问者模式(Visitor)

职责链模式(Chain of Responsiblity)

迭代器模式(Iterator)

解析器模式(Interpreter)

猜你喜欢

转载自blog.csdn.net/qq_40904479/article/details/108709048