Compiler-generated Functions, Rule of Three and Rule of Five
▻https://www.fluentcpp.com/2019/04/19/compiler-generated-functions-rule-of-three-and-rule-of-five
When you read a class interface that defines some basic functions (constructors, destructors, assignment) but not all of them, don’t you wonder what that code means, and what functions will be available for that class in practice? I often do. To clarify this type of situation, I suggest we make a recap of what class […]