对于一个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页.

posted on 2018-09-11 17:29  今夜太冷  阅读(1998)  评论(0编辑  收藏  举报