Skip to content
 
 

Repository files navigation

CppDesignPattern

C++设计模式实现,Qt项目

  • Blog:http://techieliang.com
  • 范例在main文件测试完毕后大部分都忘了delete,留下这戏错误提醒以后不要再犯。。。使用各种模式时请根据情况管理指针

SingletonPattern

单例模式

FactoryMethodPattern

工厂方法模式/抽象工厂模式

TemplateMethodPattern

模板方法模式

BuilderPattern

建造者模式

PrototypePattern

原型模式

ProxyPattern

代理模式

MediatorPattern

中介者模式

CommandPattern

命令模式

ChainResponsibilityPattern

责任链模式

DecoratorPattern

装饰模式

StrategyPattern

策略模式

AdapterPattern

适配器模式

CompositePattern

组合模式

ObserverPattern

观察者模式

FacadePattern

门面模式,比较简单,没做范例

MementoPattern

备忘录模式

VisitorPattern

访��者模式

StatePattern

状态模式

About

C++设计模式实现,Qt项目

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages