|
Discussion Questions, Lecture 12 |
this->capacity = other.capacity written on
transparency.
vector a, b a = b;Box pictures to illustrate assignment process and use of storage.
x = y = z = 0,
x = (y = (z = 0)). This is to show why the assignment
operator needs to return a value (which is a reference).