I\'m a little confused as to the mechanics of the copy constructor. Correct me if I\'m wrong:
If a method takes a reference to an object as a parameter, and the class d
If a method takes a reference to an object as a parameter, copy constructor will not be called. If that was the case, then a call to the copy constructor itself would have resulted in an infinite loop (since it takes a reference as an argument).
That line is not a valid way to call a copy constructor. It expects a reference as an argument, not a pointer.