在gcc/g ++ 4.*中是否有一种方法可以编写一个扩展为多行的宏?
以下代码:
#define A X \ Y
扩展到
X Y
我需要一个宏扩展到
c++ newline g++ c-preprocessor
c++ ×1
c-preprocessor ×1
g++ ×1
newline ×1