C++

2025

Non-reentrant Functions in C++

A function can be non-reentrant if it uses memory that is not on the stack.

2024

C++ Variadic Function Templates

可变参模板的英文为Variadic Templates,是C++11标准引入的,可变参模板允许模板定义中含有0到多个模板参数。

C++ Fold Expressions

折叠表达式(Fold Expressions)是C++17标准引入的,引入折叠表达式的主要目的是计算某个值。

Clangd Configuration With Eglot

Eglot是Emacs内置的LSP客户端。Eglot内置已支持大量的LSP服务端。以C++语言为例,Eglot支持clangd和ccls两种服务端模式。