摘要: 1.对于单纯常数量,最好使用const对象或者enum替换#defines 2.对于长的像函数的宏定义,最好改用inline内联函数替换#define 阅读全文
posted @ 2020-10-29 20:02 唯一诺 阅读(90) 评论(0) 推荐(0)