对于一个array来说:
For POD-types, a shallow copy or memcpy of the whole array is good enough, while for non-POD types, we need to perform element by element copies.
来自<Learning Boost C++ Libraries> 第296页.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。