摘要:
Effective STL Item 06:Be alert for C++'s most vexing parse. 阅读全文
摘要:
![GDB_commands](https://img2020.cnblogs.com/blog/2141093/202201/2141093-20220107212919663-1832287441.jpg) 阅读全文
摘要:
unique_ptr 拷贝的方法 std::unique_ptr Deep Copy 虽然 std::unique_ptr 删除了 copy constructor 和 copy assignment operator ,但其实我们可以借助解引用操作变通地对 std::unique_ptr 进行拷贝 阅读全文
摘要:
Static local variable and Global variable Static local variable 对于 static local variable ,在 control 首次经过其声明时才会被初始化(除非其初始化是零初始化或常量初始化,这可以在首次进入块前进行),在其后 阅读全文
摘要:
Markdown注释和反斜线转义 语法 comment and backslash escapes Hiding content with comments We can hide content from the rendered Markdown by placing the content i 阅读全文
摘要:
C++ 栈展开 Stack Unwinding 当程序抛出一个异常时,程序暂停当前函数的执行过程并立即开始查找(look up)最邻近的与异常匹配的 catch 子句。 如果查找到一个匹配的 catch 子句,异常从它的抛出点开始“向上”传递到匹配的 catch 子句。异常传递过程中,当退出了某些作 阅读全文
摘要:
Visual Studio 2022 配置CMake Build and Debug C++ with WSL 2 Distributions and Visual Studio 2022 - C++ Team Blog (microsoft.com) 阅读全文
摘要:
使用 Visual Studio 2022 开发 Linux C++ 应用程序 前置条件: Windows上需要先安装 WSL2,方法见: Install WSL | Microsoft Docs 在 WSL2 中依次执行如下命令,进行安装如下必需软件: sudo apt update && sud 阅读全文
摘要:
CSDN博客 新版主页与旧版主页切换 新版主页 → 旧版主页 旧版主页 → 新版主页 阅读全文
摘要:
Chrome 翻译功能 方法1: 方法2: 页面右击鼠标,选择 翻成中文(简体) 阅读全文