Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 3) C4570
Collapse the table of content
Expand the table of content

Compiler Warning (level 3) C4570

Error Message

'type' : is not explicitly declared as abstract but has abstract functions

A type that contains abstract (Visual C++) functions should itself be marked as abstract.

Example

The following sample generates C4570.

// C4570.cpp
// compile with: /clr /W3 /c
ref struct X {   // C4570
// try the following line instead
// ref class X abstract {
   virtual void f() abstract;
};

Community Additions

ADD
Show:
© 2015 Microsoft