Just for learning purposes and if I would really like to compare apples with pies. And ignoring for the moment rules and idioms
What type of parameter is allowed for overloaded operators, e.g. "operator !=" ?
Ok, it is expecting exactly one parameter, but what type?. Having read 'functions', 'declarations', 'types' and 'operator overloading', I still do not know it. Any restriction? Maybe the same as any other function? Can somebody confirm that?
Any help appreciated
Edit:
In my post I even linked the proposed dup. So, why mark it as dup. I read that thread before. My question is nowhere answered in the post. I am not sure how to rephrase the question. It is about the "C++ type" of the parameter in the overloaded operator function. A "C++ type" is something like described in types. For example, I think that the type must be complete. Any other restrictions or requirements?