会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
dilexliu
博客园
首页
新随笔
管理
2020年7月14日
[STL] vector中函数emplace_back的实现原理
摘要: 在vector中的emplace_back函数, 其效率比push_back高很多! /*例子中使用的Student类的声明*/ class Student { private: int age; public: Student(); explicit Student(int age); ~Stud
阅读全文
posted @ 2020-07-14 22:56 dilex
阅读(3597)
评论(0)
推荐(2)
编辑