//TODO 参考链接 https://www.youtube.com/watch?v=T6RZ5On3xz8…
使用 conan 进行 C++ 包管理
Posted on
专注机器人与自动驾驶| Focus on Robotic and Autonomous Driving
//TODO 参考链接 https://www.youtube.com/watch?v=T6RZ5On3xz8…
Algorithm 题目: https://leetcode.cn/problems/count-the-nu…
依赖: clang-tidy clang-apply-replacements run-clang-tidy….
在项目顶层 CMakelists.txt 添加 set_property(GLOBAL PROPERTY RU…
1. sudo add-apt-repository -y ppa:ubuntu-toolchain-r/te…
C++特性:内联,函数对象,移动语义,模板,视图类型,返回值优化,…… 通用优化方法:循环优化,内存优…
关于三法则: 若析构函数、拷贝构造函数、赋值操作符三者自定义其一,则需要同时定义另外两个(编译器自动生成的一般…
左值可以绑定到左值引用 左值不可以绑定到右值引用 右值可以绑定到左值常量引用 右值可以绑定到右值非常量引用 &…
左值:命名对象、可取地址&,可赋值 基本类型变量、数组、数组元素 字符串字面量,如“CppCamp” …
Prototype模式允许我们通过克隆现有对象来创建新对象,而无需依赖其具体类。这样做可以避免与对象复杂的构造…
#include <iostream> #include <string> // Pi…
#include <iostream> class IElevator { public: vir…
class Singleton { public: static Singleton& getInst…
github 链接 关于 infinity Infinity is a cutting-edge AI-nat…