C1086: Global unary operator must have one parameter

[ERROR]

Description

The specified overloaded operator was incorrectly declared with the wrong number of parameters.

Tips

Global member unary operator must have exactly one parameter.