尹绵绵

 

2012年3月19日

宏定义:带参数的宏名和为空的宏体

摘要: 在wxwidgets中遇到这样的一个宏1 /* Macro to cut down on compiler warnings. */2 #if 1 /* there should be no more any compilers needing the "#else" version */3 #define WXUNUSED(identifier) /* identifier */4 #else /* stupid, broken compiler */5 #define WXUNUSED(identifier) identifier6 #endif还有这样的一处应用voi 阅读全文

posted @ 2012-03-19 22:13 花无形 阅读(1408) 评论(2) 推荐(0) 编辑

导航