会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
_Toya
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年11月27日
设计模式2:策略模式工厂
减少算法类与使用算法类之间的耦合;简化了单元测试,因为每个算法都有自己的类,可以单独测试 Operation.h: #pragma once #include<iostream> #include<string> using namespace std; class Operation { publ
Read More
posted @ 2020-11-27 10:34 _KikyoBK
Views(111)
Comments(0)
Diggs(0)
Edit
公告