so anyways, does anyone know what I should do If I want my operator = function to return true on success and false on failure? or what exactly is my problem here anyway.
edit: @quirkyusername, yeah thats what I thought. So many newbie posts on here having if (a = X), when they really meant if (a == X), and no one ever mentioned that its still not doing what you thought that it should had that been what you actually intended it to do.
The whole idea of overloading operators is to make classes behave more natually. By returning a bool instead of the type you are breaking the natual behavior which makes your class weird and confusing. It kind of defeats the point.
I think that the problem is with yada, yada. So if you change it to something, something, it should work.
However be careful with ...
You could beep beep instead