“function”: 不能使用“...”声明托管或 WinRT 类型成员函数
注解
托管和 WinRT 类成员函数不能声明可变长度的参数列表。
Example
以下示例生成 C3269,并演示如何修复它:
// C3269_2.cpp
// compile with: /clr
ref struct A
{
void func(int i, ...) // C3269
// try the following line instead
// void func(int i )
{
}
};
int main()
{
}