C++之Effective C++学习-条款2

1.对于单纯常数量,最好使用const对象或者enum替换#defines

2.对于长的像函数的宏定义,最好改用inline内联函数替换#define

原文地址:https://www.cnblogs.com/weiyouqing/p/13898908.html