CnTransGroup / EffectiveModernCppChinese

《Effective Modern C++》- 完成翻译

Home Page:https://cntransgroup.github.io/EffectiveModernCppChinese/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

条款七 中最后的“请记住部分”

peacess opened this issue · comments

commented

“括号初始化是最广泛使用的初始化语法,它防止变窄转换,并且对于C++最令人头疼的解析有天生的免疫性”
其中的“括号”改为“花括号”
参见原文:
Braced initialization is the most widely usable initialization syntax, it prevents
narrowing conversions, and it’s immune to C++’s most vexing parse