The copy constructor and assignment operator

前端 未结 5 1766
攒了一身酷
攒了一身酷 2020-11-28 05:37

If I override operator= will the copy constructor automatically use the new operator? Similarly, if I define a copy constructor, will operator= aut

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