This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2273
'type' : illegal as right side of '->' operator
A type appears as the right operand of a ->
operator.
Possible cause
- Trying to access a user-defined type conversion. Use the keyword operator between -> and type.
Example
i = ClassPtr->int( a ); // error
i = ClassPtr->operator int( a ); // OK