异常安全的 meaning in Chinese
exception-safe
Examples
- Use exceptions to report errors where appropriate , and write code that is safe in the face of exceptions
适当的使用异常来报告错误,应该写异常安全的代码。 - This version also requires much less care to ensure that it ' s been made properly exception - safe
而且这个版本只需稍加小心就能够确保正确地将该函数实现为异常安全的。 - Note especially how much more elegant this is than the exception - safe copy assignment we implemented in item 9
请注意尤其是与我们在条款9中实现的异常安全的拷贝赋值运算符相比而言,它是多么的优美。 - The following is an incredibly elegant and nifty way to write a completely safe copy assignment operator . it ' s even cooler if you ' ve never seen the technique before
下面给出了编写完全异常安全的拷贝赋值运算符的一个极好的方式,难以置信的优美。如果你以前从没看到过这个技巧的话,它很酷,不是吗?