__VA_ARGS__

为可变化参数,相当于 ...

现在只能在linux 下gcc编译器用这个,windows的vs2019编译器用不了。

void func1(...)

{

}

也相当于 void printf(const char* format, ...);

相关文章: