Static Code Analysis and the Rules of Zero, Three, and Five
Summary
The Rule of Zero, Three, and Five, sometimes written 0/3/5, is a set of C++ guidelines about resource ownership and the special member functions. They exist because the alternatives are double-frees, dangling pointers, and silently broken copies. In this post we’ll work through the rules by tripping over each of those bugs in turn, then […]
News Radar provides aggregated summaries. Full content and copyright remain with the original publisher.