![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
xuhao07
安防软件,媒体相关,Linux驱动
展开
-
一些常用工具(个人长期更新)
代码管理:git,svn发送http报文:postman(windows),curl(linux)windows抓包,分析报文:wiresharklinux抓包:tcpdump企业内部沟通:钉钉,企业微信,全时,内网通编译任务管理:jenkins第三方库文件版本管理:conan容器管理:docker,k8s消息队列:kafka,zeroMQ数据库:sqlite3,大象视频流相关:ffmpeg,live555,SRS代码编辑,比较:source insight,VS原创 2021-07-05 20:11:46 · 63 阅读 · 0 评论 -
(转)C++定义map类型的模板迭代器(undefined map)
C++定义map类型的模板迭代器template <typename K, typename V>using MapIterator_T = typename std::map<K, V>::iterator;使用下面这种形式会报错template <typename K, typename V>typename std::map<K, V>::iterator MapIterator_T; //error代码示例#include &l.转载 2021-07-05 17:54:31 · 294 阅读 · 0 评论 -
protobuf中增加map的处理
1.定义:xxx.proto文件,结构体中增加map字段2.写入调用mutable_xxx()接口,添加map字段:xxx[i] = xxxx;3.读取调用xxx()接口,获取map表,直接下标访问:xxx[i];原创 2020-11-24 13:39:42 · 6790 阅读 · 1 评论