Why should the copy constructor accept its parameter by reference in C++?

前端 未结 8 1310
离开以前
离开以前 2020-11-22 17:00

Why must a copy constructor\'s parameter be passed by reference?

8条回答
提交回复
热议问题