Compiler Error C2827
Collapse the table of content
Expand the table of content

Compiler Error C2827

Visual Studio 6.0

'operator symbol' cannot be globally overridden with unary form

The given operator cannot have a unary form outside of an object.

Make sure that the overloaded operator is local to the object or choose an appropriate unary operator to overload.

© 2015 Microsoft