提交 b4bb11a8 编写于 作者: H hsutter

Tweak to close #1588

上级 040b141a
......@@ -11707,7 +11707,7 @@ Casts are widely (mis) used. Modern C++ has rules and constructs that eliminate
##### Enforcement
* Force the elimination of C-style casts, except when casting a `[[nodiscard]]` function return value to void.
* Force the elimination of C-style casts, except when casting a `[[nodiscard]]` function return value to `void`.
* Warn if there are many functional style casts (there is an obvious problem in quantifying 'many').
* The [type profile](#Pro-type-reinterpretcast) bans `reinterpret_cast`.
* Warn against [identity casts](#Pro-type-identitycast) between pointer types, where the source and target types are the same (#Pro-type-identitycast).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册