Compiler Error C3083


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Compiler Error C3083.

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

A function was called incorrectly.

The following sample generates C3083.

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