Export (0) Print
Expand All
Expand Minimize

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