NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 2) C4285

return type for 'identifier::operator –>' is recursive if applied using infix notation

The specified operator–>() function cannot return the type for which it is defined or a reference to the type for which it is defined.

Example

class C
{
public:
    C operator->();   // warning
    C& operator->();  // warning
};