Effective c++ 学习笔记(好的英文表达)

2021-10-14  本文已影响0人  懒生活

Effective c++ 学习笔记(好的英文表达)

这本书是坚持用原版学习完的,学习c++的同时也熟悉下英文。摘抄部分可以借鉴的表达:

  1. at first glance, this may look innocuous.
  2. If you're ever tempted to inherit from a standard container or any other class with a non-virtual destructor, resist the temptation!
  3. Under certain circumstances, terminating a destructor, operator delete, or operator delete[] by throwing an exception can trigger undefined behavior.
  4. this is a place where those language zig, while c++ zags.
  5. Informally speaking, during base class construction, virtual functions aren't.
  6. This code is conceptually the same as the earlier version, but it's more insidious.
  7. Compilers seem to take offense at this, and they retaliate in a curious fashion.
  8. one of the most insidious ways this issue can arise is through inheritance.
  9. in practice, the two copying functions will often have similar bodies.
  10. your desire to avoid code duplication is laudable.
    上述的这些表达,任何一个活学活用到工作中都挺好的。
上一篇 下一篇

猜你喜欢

热点阅读