Compiler Error C2517

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

'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: