[Solved] What is the difference between overloading the assignment operator and any other operator?
[ad_1] Here are two differences: An overloaded assignment operator must be a member of the class being assigned to; it cannot be declared as a free function. Copy and move assignment operators will be implicitly declared for your class if you do not declare them yourself (subject to certain restrictions). [ad_2] solved What is the … Read more