The left operand of the dot operator cannot be implicit converted.
The parameters of a friend function can be used instead.