Assignment is not copying
It might appear that
s1 = s2;
makes s1 into a copy of s2, but that reasoning is deceptive
The reason is that s1 already had a value, and we must first dispose of it somehow
Also, how do we specify assignment?
Previous slide
Next slide
Back to first slide
View graphic version