Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C3869
Collapse the table of content
Expand the table of content

Compiler Error C3869

gcnew constraint is missing empty parameter list '()'

The gcnew special constraint was specified without the empty parameter list. See Constraints for more information.

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 {};

Community Additions

ADD
Show:
© 2015 Microsoft