Original Post
In VC6 I tried to overload an operator with a static function: ...but it didn't work. I got an error message that said that operator overloads must be non-static. But I got the info on how to do static operator overloads from MSDN library. Is one of my products (VC6/MSDN Library) out of date?
CMyClass &operator=(CMyClass &l, int &r)
{
//...
}