C++設計模式學習筆記

一、組件協作

Template Method

Strategy

Obsever/Event

 

二、單一職責

Decorator

Brige

 

三、對象創建

Factory Method

Abstract Factory

Prototype

Builder

 

四、對象性能

Singleton

Flyweight

 

六、接口隔離

Facade

Proxy

Mediator

Adapter

 

七、狀態變化

Memento

State

 

八、數據結構

Composite

Iterator

Chain of Resposibility

 

九、行爲變化

Command

Visitor

 

十、領域問題

Interpreter

發佈了146 篇原創文章 · 獲贊 226 · 訪問量 68萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章