During an operation on a class, after the class's state is updated, only non-throwing operations should be called. Otherwise your class will not be exception-safe.
Reference: Exceptional C++ by Herb Sutter. Addison-Wesley, 1999, p. 32.
Sunday, November 14, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment