Белешка
Приступ овој страници захтева ауторизацију. Можете покушати да се пријавите или промените директоријуме.
Приступ овој страници захтева ауторизацију. Можете покушати да промените директоријуме.
Attributes cannot be applied to C++ varargs
Remarks
An attribute was applied incorrectly. Attributes can not be applied to an ellipsis representing variable arguments.
For more information, see User-Defined Attributes.
Example
The following example generates C3133.
// C3133.cpp
// compile with: /clr /c
ref struct MyAttr: System::Attribute {};
void Func([MyAttr]...); // C3133
void Func2([MyAttr] int i); // OK