有人能解释一下复制和分配之间的区别吗?
SomeClass a; SomeClass b = a; // assignment SomeClass c(a); // assignment b = c; // copying
但有什么区别,为什么语言中有两种不同的结构?
c++
c++ ×1