
C++
RobotLife
8-10
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nng库使用
cd nng使用:原创 2025-07-08 23:08:51 · 205 阅读 · 0 评论 -
前置++和后置++重载
To distinguish between the prefix and postfix versions of the ++ operator, C++ adopted the convention of letting operator++() be the prefix version and operator++(int) be the suffix version;`iterator& operator++() // for ++it{pt = pt->p_next;ret原创 2021-10-01 16:03:53 · 205 阅读 · 0 评论 -
程序加速
FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries. The library is highly optimized to speed up the Bag of Words creation using AVX,SSE and MMX instructions. In loading a vocabulary, fbow is ~80x faster than DBOW2 (see转载 2020-08-01 15:31:47 · 272 阅读 · 0 评论 -
C++类对象通过函数指针访问其成员函数的高级应用
应用源自OMPL库源代码:http://ompl.kavrakilab.org/index.html以下代码出自:RRTstar.cpp,位于ompl::geometric::RRTstar::RRTstar(const base::SpaceInformationPtr &si)函数中:Planner::declareParam<double>("range", this...原创 2020-04-25 11:29:40 · 502 阅读 · 0 评论 -
C++库函数收集
数值类型极限值std::numeric_limits<double>::max();原创 2020-03-27 14:36:42 · 265 阅读 · 0 评论 -
C++在成员函数中创建thread多线程, 以成员函数作为回调函数时的范例
以下代码来自VSLAM开源算法ORB_SLAM2中的部分代码,其开源网址为https://github.com/raulmur/ORB_SLAM2回调函数&成员函数:void Initializer::FindHomography(vector<bool> &vbMatchesInliers, float &score, cv::Mat &H21)...原创 2019-02-02 23:21:56 · 1965 阅读 · 6 评论 -
Linux C++多线程编程学习笔记
1. thread header#include <thread>2. 构造函数原型default (1) thread() noexcept;initialization (2) template <class Fn, class... Args> explicit thread (Fn&& fn, Args&...原创 2019-04-06 10:08:00 · 466 阅读 · 0 评论