Compiler Error C3611
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Error C3611

Error Message

'function': a sealed function cannot have a pure-specifier

A sealed function was declared incorrectly. For more information, see sealed.

Example

The following sample generates C3611.

// C3611.cpp
// compile with: /clr /c

ref struct V {
   virtual void Test() sealed = 0;   // C3611
   virtual void Test2() sealed;   // OK
   virtual void Test3() = 0;   // OK
};
Show:
© 2016 Microsoft