The Copy Constructor And Overloading The Assignment Operator


Implementing an overloaded assignment operator can be tricky.

The copy constructor

A copy constructor is a special constructor that initializes a new object from an existing object.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.