Expression Evaluator Error CXX0050


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

The latest version of this topic can be found at Expression Evaluator Error CXX0050.

left side of :: must be class/struct/union

The symbol on the left side of the scope-resolution operator (::) was not a class, structure, or union.

This error is identical to CAN0050.