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 Error C2586

incorrect user-defined conversion syntax : illegal indirections

Indirection of a conversion operator is not allowed.

Example

class C
{
   operator int();   // error, indirection on the operator
};


typedef int pINT_t;
class D
{
   operator pINT_t();  // correct
};