Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 634 Bytes

compiler-error-c2569.md

File metadata and controls

25 lines (21 loc) · 634 Bytes
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: Compiler Error C2569
Compiler Error C2569
11/04/2016
C2569
C2569
092bed1e-f631-436c-9586-7750629f6fac

Compiler Error C2569

'EnumOrUnion' : enum/union cannot be used as a base class

If you must derive a type from the specified union or enumeration, change the union or enumeration to a class or structure.

The following sample generates C2569:

// C2569.cpp// compile with: /cunion ubase {}; classcHasPubUBase : publicubase {}; // C2569// OKstructsbase {}; classcHasPubUBase : publicsbase {};
close