17.7 Overloading the Assignment
Operators
The Assignment Operator,
=
- Must be a member function
- Is automatically generated
- Member-wise copy
- Destructor and copy constructor also supplied by compiler
- Desired behavior for many classes
- Explicitly supply if class has outside references
prev
|top
|next