G
Gandalf
Hello.
If I have classes that allocates dynamic memory, it is a good thing to have
a copy constructor(CC). If I have a CC, now I'm only trying to understand
when I also need to overload the assignment operator. When do I need that?
If I have classes that allocates dynamic memory, it is a good thing to have
a copy constructor(CC). If I have a CC, now I'm only trying to understand
when I also need to overload the assignment operator. When do I need that?