合集-设计模式

摘要:`#include using namespace std; class Command{ public: Command(); virtual void on(){}; virtual void off(){}; virtual void undo(){}; }; Command::Command 阅读全文
posted @ 2024-09-08 12:39 你看起来丿很好吃 阅读(31) 评论(0) 推荐(0)
摘要:#include<iostream> #include<list> #include<string> #include<type_traits> #include<functional> using namespace std; using namespace std::placeholders; 阅读全文
posted @ 2024-09-08 13:08 你看起来丿很好吃 阅读(28) 评论(0) 推荐(0)