Compiler Error C3869
gcnew constraint is missing empty parameter list '()'
The gcnew
special constraint was specified without the empty parameter list. See Constraints on Generic Type Parameters (C++/CLI) for more information.
Example
The following sample generates C3869.
// C3869.cpp
// compile with: /c /clr
using namespace System;
generic <typename T>
where T : gcnew // C3869
// try the following line instead
// where T : gcnew()
ref class List {};
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir