Compiler Error C2517

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

identifier' : right of '::' is undefined

The identifier on the right of the scope-resolution operator (::) must be a defined member of the class, structure, or union on the left. If no class, structure, or union is named, the identifier on the right must be declared with global scope.

Show: