摘要: #define show_log(tag, fmt, arg...) printf("[%s][%s:%d]: "fmt"\n", tag, __func__, __LINE__, ##arg)C可以编译通过,而C++编译出标题错误。 说是C++11要求,当字符串跟变量连接的时候,必须fmt前后增加 阅读全文
posted @ 2024-07-02 21:11 流水灯 阅读(7) 评论(0) 推荐(0) 编辑