设计模式 之 《装饰模式》

  #ifndef __DECORATOR__ #define __DECORATOR__ #include <string> #include <iostream> using namespace std; //人 class Person { public: Person(string strName) { m_strName = strName;
相关文章
相关标签/搜索