std::vector<boost::shared_ptr <ITEM> > srcItemList;  // 数据源
std::vector<ITEM>  destItemList;            // 目的数据
std::copy(destItemList.begin(),destItemList.end(),  std::back_inserter(srcItemList));
std::back_inserter为后端插入

相关文章:

  • 2022-03-07
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案