A shallow copy is fine if your structure is 1-dimensional, or if you do not need to clone any of the contained data structures.
浅拷贝是好的如果你是单维结构或者如果你不需要克隆任何包含于其中的数据结构,即简单不复制的数据结构。
A shallow copy is fine if your structure is 1-dimensional, or if you do not need to clone any of the contained data structures.
浅拷贝是好的如果你是单维结构或者如果你不需要克隆任何包含于其中的数据结构,即简单不复制的数据结构。
应用推荐