Good day everyone.
We've got a codebase where some of our classes are generated by scripts. A few dozens of these classes are just containers, i.e. just private members and getters/setters for those. For some reason the person who developed the script decided that they need destructors(with empty body), even though strings/shared_ptrs can perfectly clean up after themselves.
My question is, if I remove the code that generates the destructor, does it mean that the compiler will automatically generate the move contstructor/move operator= for those classes?
My platform is Windows / VC++ 2015, but I'd be interested to know what other compilers do.
Thanks, Michael