I am trying to use a class that I created with std::list, but VC++ gives me errors such as:
error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class std::list<struct my_struct,class std::allocator<struct my_struct> >::const_iterator' (or there is no acceptable conversion)
The same error for !=.
So I'm assuming that my_struct needs something so that I can use it with STL. I know that a constructor, copy constructor, assignment, and bool operators == and < are necessary. Is there anything else? I can't remember where I found it the first time and I can't search the boards for some strange reason.
Any help or a url is appreciated.