摘要: c++中常用的vector容器作为参数时,有三种传参方式,分别如下(为说明问题,用二维vector): function1(std::vector<std::vector<int> > vec),传值 function2(std::vector<std::vector<int> >& vec),传引 阅读全文
posted @ 2017-05-12 09:32 xiaoxi666 阅读(60179) 评论(1) 推荐(12)
TOP