关于 map 的迭代器
摘要:今天遇到一个问题 CountCompileResult(const LIST_MAP & rfLmCompileWafers) { for (auto itr = rfLmCompileWafers.begin(); itr != rfLmCompileWafers.end(); ++itr) {
阅读全文
posted @
2022-08-24 18:59
皖南
阅读(45)
推荐(0)
C++ 11 数字转字符串新功能
摘要:// 头文件 <string>string to_string (int val);string to_string (long val);string to_string (long long val);string to_string (unsigned val);string to_strin
阅读全文
posted @
2022-08-24 14:24
皖南
阅读(36)
推荐(0)
关于右值 std::move
摘要:今天发现一个情况,对容器map 进行 std::move 之后,原map被清空了。 map<int, int> tmp; tmp[1] = 1; tmp[2] = 2; tmp[3] = 3; tmp[4] = 4; tmp[5] = 5; map<int, int> tmp1; tmp1[1] =
阅读全文
posted @
2022-08-18 16:29
皖南
阅读(173)
推荐(0)
VsCode C++ 语法检测失效不标红色波浪线 解决办法
摘要:如果enable Squiggles 无效,按照下图里配置设置解决问题。 如图:
阅读全文
posted @
2022-08-17 11:03
皖南
阅读(2616)
推荐(0)