摘要: 模板方法模式 #include <iostream> using namespace std; class GameCharacter { public : int healthValue() const { //... 做一些事前工作 int rtnValue = doHealthValue(); 阅读全文
posted @ 2022-11-22 17:37 htj10 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ***** 阅读全文
posted @ 2022-11-22 17:25 htj10 阅读(6) 评论(0) 推荐(0) 编辑
TOP