We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e784ed0 commit 4b1181fCopy full SHA for 4b1181f
assets/wechat-group.jpg
9.15 KB
book/zh-cn/02-usability.md
@@ -153,7 +153,7 @@ constexpr int fibonacci(const int n) {
153
154
### if/switch 变量声明强化
155
156
-在传统 C++ 中,变量的声明在虽然能够位于任何位置,甚至于 `for` 语句内能够声明一个临时变量 `int`,但始终没有办法在 `if` 和 `switch` 语句中声明一个临时的变量。例如:
+在传统 C++ 中,变量的声明虽然能够位于任何位置,甚至于 `for` 语句内能够声明一个临时变量 `int`,但始终没有办法在 `if` 和 `switch` 语句中声明一个临时的变量。例如:
157
158
```cpp
159
#include <iostream>
0 commit comments