Copying a container of N elements is a linear operation that involves N copy constructor calls + N destructor calls.

 
  • 赢取的性能是可观的,拷贝N个元素的容器是线性操作,需要调用N次拷贝构造函数和N次析构函数。
今日热词
目录 附录 查词历史