Map
Index
Random
Help
Topics
th

QuoteRef: abraD4_1998




Topic:
exception handling by try..catch
Topic:
generic operations and polymorphism
Group:
exception handling
Topic:
finalization of data
Topic:
object-oriented classes
Topic:
database transactions
Topic:
automated testing

Reference

Abrahams, D., "Exception-safety in generic components", Selected papers from the International Seminar on Generic Programming, April 1998, Springer-Verlag, LNCS 1766, pp. 69-99, SBN 3540410902. Google

Notes

Page numbers for a copy.

Quotations
1 ;;Quote: C++ containers are exception-safe generic components; no cost for normal operation, exceptions for cost comparable to a function call
1 ;;Quote: exception-neutrality for generic components; exceptions thrown by type parameters are passed unchanged to the component's caller
2 ;;Quote: exception-safety provides the basic-guarantee and may provide strong or no-throw guarantees; destructors do not throw exceptions
2+;;Quote: basic-guarantee of exception-safety -- invariants preserved and no resource leaks
2+;;Quote: strong-guarantee of exception-safety -- either an operation completes successfully or an exception occurs without changing the program state
4 ;;Quote: examine non-const operations for exception-safety; e.g., strong guarantee for set::insert, and no-throw guarantee for an iterator's copy constructor
4 ;;Quote: automated test of exception-safety; ThisCanThrow() throws an exception when a global counter becomes zero; rerun with increasing values of the counter; operations must be exception-neutral

Related Topics up

Topic: exception handling by try..catch (53 items)
Topic: generic operations and polymorphism (67 items)
Group: exception handling   (12 topics, 314 quotes)
Topic: finalization of data (11 items)
Topic: object-oriented classes (67 items)
Topic: database transactions (27 items)
Topic: automated testing (25 items)

Collected barberCB 1/08
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.