Compiler Error C2302

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

The expression of the left side of the dot operator (.) was not a class, structure, or union.