'class' : operator overloading is not implemented for managed classes
Operator overloading is not allowed with managed classes.
The following sample generates C3258:
#using <mscorlib.dll> __gc class A { public: int i; A *operator=(const int _i) { // C3258 i = _i; return(this); } }; void main() { A *a = new A; }