Closed ProgramMax closed 2 years ago
This commit relies on Howard Hinnant's chart of special member functions that are generated in a given situation [1]. There is also a presentation of it [2].
Rather than spell out every function with =default, only =default it when needed.
[1] https://howardhinnant.github.io/classdecl.html [2] https://www.youtube.com/watch?v=vLinb2fgkHk
This commit relies on Howard Hinnant's chart of special member functions that are generated in a given situation [1]. There is also a presentation of it [2].
Rather than spell out every function with =default, only =default it when needed.
[1] https://howardhinnant.github.io/classdecl.html [2] https://www.youtube.com/watch?v=vLinb2fgkHk