The "Rule of zero" is a class design principle derived from the single responsibility principle.
A class should not define any special member functions unless its sole purpose is managing ownership.
Click to open in Compiler Explorer.
Leave a comment