摘要:
// class.h #ifndef CLASS_H #define CLASS_H #include<iostream> #include<functional> #include <memory> #include <map> #include <stdarg.h> using namespac 阅读全文
摘要:
背景 静态库提供注册接口 主程序调用注册接口注册 主程序获取注册结果 /*example*/ ///静态库 register.h static std::map<std::string, std::string> register_map; #define REGISTER(name, fun). 阅读全文