boost正则比c++11正则快40倍。c++11线程会吞掉异常调用堆栈。 ...
分类:
编程语言 时间:
2019-06-14 23:56:14
阅读次数:
263
1. using boost::heap::priority_queue In general this class behaves like std::priority_queue, except it allows you to iterate over elements. The order ...
分类:
其他好文 时间:
2019-06-14 19:44:45
阅读次数:
109
Boost.Unordered provides the classes boost::unordered_set, boost::unordered_multiset, boost::unordered_map, and boost::unordered_multimap. These class ...
分类:
其他好文 时间:
2019-06-13 20:21:25
阅读次数:
99
安装依赖库: 1、安装cmake (是一个跨平台的安装工具) 2、安装boost、boost-python(C++的程序库) 3、编译dlib 4. 安装人脸识别的python库 5、安装opencv-python 此时报错: 解决方案:强行升级 ...
分类:
系统相关 时间:
2019-06-09 09:34:48
阅读次数:
141
1. 首先编译 b2.exe 很简单,bootstrap.bat文件里写的明白。 2. b2的命令行参数很多,文档到官网找 若编译boost.python可能要修改project-config.jam 3. 我的编译指令 b2 --build-dir=gccbuild --with-python - ...
分类:
编程语言 时间:
2019-06-06 23:09:26
阅读次数:
245
Boost.Regex provides three different functions to search for regular expressions 1. regex_match boost::regex_match() compares a string with a regular ...
分类:
其他好文 时间:
2019-06-05 20:07:56
阅读次数:
121
废话时间:想必很多人都受困于Caffe的环境,上一篇讲了如何安装CUDA,不得不用了很多管理员权限。我在第一家公司实习的时候,CUDA是放在/usr/local目录下的,大家都可以用,但自己的home目录下是空的,其他依赖包括opencv、boost等都要自己解决,且不能使用管理员权限,可能会把别人 ...
分类:
系统相关 时间:
2019-05-31 23:25:42
阅读次数:
209
目前最新版本的boost库是1.70.0。现在在学习使用cinatra搭建c++的http服务器,需要用到boost库中的asio,下载了一下最新版本的boost库,捣鼓了半天。 1、下载 boost官网:https://www.boost.org/users/history/version_1_7 ...
分类:
其他好文 时间:
2019-05-29 18:00:48
阅读次数:
174
1. boost::scoped_ptr is a smart pointer that is the sole owner of a dynamically allocated object and cannot be copied or moved. A smart pointer of typ ...
分类:
其他好文 时间:
2019-05-29 17:52:27
阅读次数:
107
以boost thread为例: 使用gdb进行编译:g++ -std=c++11 -g -Wall -I/usr/local/boost/include testThread.cpp -L/usr/local/boost/lib -lboost_system -lboost_thread -o t ...
分类:
数据库 时间:
2019-05-05 17:56:04
阅读次数:
163