effective c++
[MECpp]Item-32 Program in the Future Tense
· β˜• 2 min read

Things change. Future tense thinking increases the reusability of the code we write, enhances its maintainability, makes it more robust, and facilitates gracefully in an environment where change is a certainty.


[MECpp]Item-30 Proxy Classes
· β˜• 7 min read

Objects that stand for other objects are often called proxy objects (or surrogates), and the classes that give rise to proxy objects are often called proxy classes, which is useful for implementing multidimensional arrays, differentiating lvalue/rvalue, and suppressing implicit conversions.


[MECpp]Item-29 Reference Counting
· β˜• 17 min read

Reference counting is technique that allows multiple objects with the same value to share a sinple representation of that value.


[MECpp]Item-28 Smart Pointers
· β˜• 15 min read

Smart pointers are designed to look, act, and feel like built-in pointers, but to offer greater functionality.