Compiler Error C2586

incorrect user-defined conversion syntax : illegal indirections

Indirection of a conversion operator is not allowed.

The following is an example of this error:

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

The following is a correct example:

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