Skip to content

Commit

Permalink
增加环绕代码块的空行
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja authored and Mq-b committed Aug 26, 2024
1 parent 0a62d87 commit 57af326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/卢瑟日经/CRTP的原理与使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ C++23 引入了**显式对象形参**,让我们的 `CRTP` 的形式也出现
> void f(this const X& self){}
> };
> ```
>
> 它也支持模板(可以直接 `auto` 而无需再 `template<typename>`),也支持各种修饰,如:`this X self`、`this X& self`、`this const X& self`、`this X&& self`、`this auto&& self`、`const auto& self` ... 等等。
```cpp
Expand Down

0 comments on commit 57af326

Please sign in to comment.