Compiler Error C2510

'identifier' : left of '::' must be a class/struct/union

The named identifier was not a class, structure, or union.

A class, structure, or union name must appear on the left side of the scope resolution operator (::) if any name is used.