Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 623 Bytes

compiler-error-c3634.md

File metadata and controls

28 lines (22 loc) · 623 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3634
Compiler Error C3634
11/04/2016
C3634
C3634
fd09f10c-f863-483b-9756-71c16b760b02

Compiler Error C3634

'function' : cannot define an abstract method of a managed or WinRTclass

An abstract method can be declared in a managed or WinRT class, but it cannot be defined.

Example

The following sample generates C3634:

// C3634.cpp
// compile with: /clr
ref class C {
   virtual void f() = 0;
};

void C::f() {   // C3634 - don't define managed class' pure virtual method
}