Compiler Error C2303

left of '.identifier' must be an l-value

Only an l-value can be on the left side of the dot operator (.).