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 ...
Get Imperfect C++ Practical Solutions for Real-Life Programming now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.