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