#define MAX(a,b) ({ typeof(a) _a = (a); typeof(b) _b = (b); \
_a > _b ? _a : _b; })
#define MIN(a,b) ({ typeof(a) _a = (a); typeof(b) _b = (b); \
_a < _b ? _a : _b; })
GCC中MAX和MIN的安全定义
最新推荐文章于 2021-04-11 15:58:47 发布