提交 796ce801 编写于 作者: B beinhaerter 提交者: Herb Sutter

E section, different stuff (#1480)

- E.15: "of" -> "or"
- E.27: capitalization
上级 b80ac8bc
......@@ -15644,7 +15644,7 @@ Instead, use a reference:
catch (exception& e) { /* ... */ }
of - typically better still - a `const` reference:
or - typically better still - a `const` reference:
catch (const exception& e) { /* ... */ }
......@@ -15917,8 +15917,8 @@ Systematic use of any error-handling strategy minimizes the chance of forgetting
There are several issues to be addressed:
* how do you transmit an error indicator from out of a function?
* how do you release all resources from a function before doing an error exit?
* How do you transmit an error indicator from out of a function?
* How do you release all resources from a function before doing an error exit?
* What do you use as an error indicator?
In general, returning an error indicator implies returning two values: The result and an error indicator.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册