There is a class A with some private data b. If I try to use A.b to get the data, there will be a comppilation error because I'm trying to use the dot-operator on private data.
If I write a copy-constructor for this very class A, I can use the dot-operator to get the private value b from the object I want to copy.
Why?