Assignment
String&
String::operator=(const String& s)
{
if (this != &s) {
destroy();
init(s.data);
}
return *this;
}
Previous slide
Next slide
Back to first slide
View graphic version