随笔分类 - Boost
摘要:boost process 设置子进程工作目录 通过boost::process::start_dir 指定 std::string cmd = (AppContext::GetBinDir() / "agvtask.exe").string(); auto pipe_stream = std::m
阅读全文
摘要:注意二进制流需要调用write 此处用拷贝 //添加gzip支持 SimpleWeb::CaseInsensitiveMultimap header; header.emplace("Cache-Control", "max-age=86400"); header.emplace("Content-
阅读全文
摘要:po::variables_map vm; po::store(po::command_line_parser(argc, argv).options(desc).allow_unregistered().run(), vm); po::notify(vm); https://stackoverfl
阅读全文
摘要:Attributes in property tree are added as sub-nodes. property tree 属性作为子节点 (坑坑坑坑坑) 使用 write_xml_element(std::cout, pt.front().first, pt.front().second,
阅读全文
摘要:下载失败 https://raw.githubusercontent.com/boostorg/boost/boost-1.75.0.beta1/boostcpp.jam license.txt下载失败 解决方法: 修改dns为114.114.114.114 参考: https://github.c
阅读全文
摘要:LNK2019 _BCryptCloseAlgorithmProvider@8,函数 "private: void __thiscall boost::uuids::detail::random_provider_base::destroy(void)" (?destroy@random_provi
阅读全文