This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2827
'operator operator' cannot be globally overridden with unary form
The operator cannot have a unary form outside of an object.
Possible solutions
- Make the overloaded operator local to an object.
- Choose an appropriate unary operator to overload.