2021年3月6日
摘要: 1、尽量以const,enum,inline替换#define 对于变量, const 更容易定位问题, const 可能会使代码交少。 相比 const char* const author = "Scott"; const std::string author("Scott"); 更好一些。 宏 阅读全文
posted @ 2021-03-06 16:53 gaozy6626 阅读(50) 评论(0) 推荐(0) 编辑