Compiler Error C2301

 

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 C2301.

left of '->~identifier' must point to class/struct/union

The expression to the left of the -> operator does not evaluate to a pointer to a class, structure, or union.

Show: