标签:linux c 编译器 gcc typeof
#define max(x,y) ({ \ typeof(x) _x = (x); \ typeof(y) _y = (y); \ (void) (&_x == &_y); \ _x > _y ? _x : _y; })
(void)(&x==&y),布布扣,bubuko.com
(void)(&x==&y)
原文地址:http://blog.csdn.net/haozhao_blog/article/details/26284909