Edit

Share via


Compiler Error C3083

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

Remarks

The qualification used is invalid. Ensure that no extra symbols were used in the qualification and that you included all required headers.

Example

The following example generates C3083:

// C3083.cpp
// compile with: /c

struct S
{
    S();
};

S::Extra::S() {}   // C3083
S::S() {}          // OK