随笔分类 -  Boost

摘要:boost process 设置子进程工作目录 通过boost::process::start_dir 指定 std::string cmd = (AppContext::GetBinDir() / "agvtask.exe").string(); auto pipe_stream = std::m 阅读全文
posted @ 2021-09-08 11:07 wolbo 阅读(690) 评论(0) 推荐(0) 编辑
摘要:注意二进制流需要调用write 此处用拷贝 //添加gzip支持 SimpleWeb::CaseInsensitiveMultimap header; header.emplace("Cache-Control", "max-age=86400"); header.emplace("Content- 阅读全文
posted @ 2021-08-04 16:13 wolbo 阅读(630) 评论(0) 推荐(0) 编辑
摘要:po::variables_map vm; po::store(po::command_line_parser(argc, argv).options(desc).allow_unregistered().run(), vm); po::notify(vm); https://stackoverfl 阅读全文
posted @ 2021-05-06 17:51 wolbo 阅读(87) 评论(0) 推荐(0) 编辑
摘要:Attributes in property tree are added as sub-nodes. property tree 属性作为子节点 (坑坑坑坑坑) 使用 write_xml_element(std::cout, pt.front().first, pt.front().second, 阅读全文
posted @ 2021-04-14 21:24 wolbo 阅读(69) 评论(0) 推荐(0) 编辑
摘要:下载失败 https://raw.githubusercontent.com/boostorg/boost/boost-1.75.0.beta1/boostcpp.jam license.txt下载失败 解决方法: 修改dns为114.114.114.114 参考: https://github.c 阅读全文
posted @ 2021-03-05 13:39 wolbo 阅读(656) 评论(0) 推荐(0) 编辑
摘要:LNK2019 _BCryptCloseAlgorithmProvider@8,函数 "private: void __thiscall boost::uuids::detail::random_provider_base::destroy(void)" (?destroy@random_provi 阅读全文
posted @ 2020-12-16 10:08 wolbo 阅读(469) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示