changkun / modern-cpp-tutorial

📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/
https://changkun.de/modern-cpp/
MIT License
24.07k stars 3k forks source link

Make the examples for init-statements in if-statements consistent between Chinese and English versions #299

Open frederick-vs-ja opened 2 months ago

frederick-vs-ja commented 2 months ago

resolve #298

Description

Fix the example in the English version, making the examples consistent between both versions.

Change List

Reference


说明

对中文版的例子补充注释。使得版本间的例子一致。

变化箱单

参考文献