Appendix E. Standard-Library Exception Safety
Everything will work just as you expect it to, unless your expectations are incorrect. | ||
--Hyman Rosen |
Exception safety — exception-safe implementation techniques — representing resources — assignment — push_back()
— constructors and invariants — standard container guarantees — insertion and removal of elements — guarantees and tradeoffs — swap()
— initialization and iterators — references to elements — predicates — strings, streams, algorithms, valarray, and complex — the C standard library — implications for library users — advice — exercises.
Introduction
Standard-library functions often invoke operations that a user supplies as function or template arguments. Naturally, some of these user-supplied ...
Get The C++ Programming Language, Special Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.