Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

design-patterns-cpp

> 编程语言
Open source

《大话设计模式》C++实现

368 stars0 likes1 views
WebsiteGitHub

About

《大话设计模式》C++实现

design-patterns-cpp

《大话设计模式》中23种设计模式案例的C++实现版本。样例忠于原书,某些地方根据C++特性做了修改。

组织结构

  • src - 每个模式案例的声明(.h)和实现(.cc)
  • tests - 每个模式案例的gtest,相当于客户端
  • docs - 每个模式案例的UML(.html)

编译结果

  • patterns - src编译得到的模式案例类库
  • patterns_run - main输出设计模式字符图
  • patterns_test - tests中所有案例的单元测试

读书笔记

  • 创建型模式
  • 结构型模式
  • 行为型模式

Python版

design-patterns-py

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言