Imperfections, Constraints, Definitions, and Recommendations
Imperfection: C++ does not provide direct support for constraints. (p. 4)
Imperfection: C++ does not provide suitable support for postconditions. (p. 15)
Recommendation: Use assertions to assert truths about the structure of the code, not about runtime behavior. (p. 21)
Definition: Resource Release Is Destruction is a mechanism that takes advantage of C++'s support for automatic destruction to ensure the deterministic release of resources associated with an instance of an encapsulating type. (p. 46)
Definition: Resource Acquisition Is Initialization is a mechanism that takes advantage of C++'s support for construction and automatic destruction to ensure the deterministic release of resources ...
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.