Export (0) Print
Expand All
Expand Minimize

Compiler Error C2838

Error Message

'member' : illegal qualified name in member declaration

A class, structure, or union uses a fully qualified name to redeclare a member of another class, structure, or union.

The following sample generates C2838:

// C2838.cpp
// compile with: /c
class Bellini {
    void Norma();

class Bottesini {
   Bellini::Norma();  // C2838

Community Additions

© 2014 Microsoft