Export (0) Print
Expand All
Expand Minimize

Compiler Error C3083

Error Message

'function': the symbol to the left of a '::' must be a type

A function was called incorrectly.

Example

The following sample generates C3083.

// C3083.cpp
// compile with: /c
struct N {
   ~N();
};

struct N1 {
   ~N1();
};

N::N::~N() {}   // C3083
N1::~N1() {}   // OK

Community Additions

ADD
Show:
© 2015 Microsoft