Exception Safety 与 RAII 的资源一致性 | C++

本章覆盖:basic guarantee;strong guarantee;no-throw guarantee;stack unwinding;partially constructed object;destructor cleanup;transaction-like state change;copy-and-swap;commit / rollback 思想;RAII 是异常安全的基础而不是附属技巧。

本章知识点

  • basic guarantee
  • strong guarantee
  • no-throw guarantee
  • stack unwinding
  • partially constructed object
  • destructor cleanup
  • transaction-like state change
  • copy-and-swap
  • commit / rollback 思想
  • RAII 是异常安全的基础而不是附属技巧