摘要: // class.h #ifndef CLASS_H #define CLASS_H #include<iostream> #include<functional> #include <memory> #include <map> #include <stdarg.h> using namespac 阅读全文
posted @ 2022-11-18 19:12 小海哥哥de 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 背景 静态库提供注册接口 主程序调用注册接口注册 主程序获取注册结果 /*example*/ ///静态库 register.h static std::map<std::string, std::string> register_map; #define REGISTER(name, fun). 阅读全文
posted @ 2022-11-18 17:29 小海哥哥de 阅读(151) 评论(0) 推荐(0) 编辑