会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
BuguTian
博客园
首页
联系
管理
订阅
2021年6月3日
map中insert和用=赋值时调用的构造函数详情
摘要: 网上大把的map把结构体作为key的博客,但是对于结构体作为值,说明的就很少了。 一个测试用例来说明insert和用等号赋值的区别。 #include <iostream> #include <string> #include <map> #include <stdio.h> #include <s
阅读全文
posted @ 2021-06-03 13:56 步孤天
阅读(550)
评论(0)
推荐(0)
编辑
公告