A  copy constructor  is used to initialize a  previously uninitialized  object from some other object's data. An  assignment operator  is used to replace the data of a  previously initialized  object with some other object's data. 现在明白了。
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务