Compiler Error C2302

 

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

left of '.~identifier' must have class/struct/union type

The expression to the left of the period (.) operator is not a class, structure, or union.

Show: