Question: The parameter to the copy constructor is a const reference. Sometimes you use a const reference instead of pass - by - value for reasons

The parameter to the copy constructor is a const reference. Sometimes you use a const reference instead of pass-by-value for reasons of efficiency, but in the case of a copy constructor, there is an even more fundamental reason why pass-by-value CANNOT be used. Why is that?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!