4 ms·
>No, even user defined classes have to be valid after a move, because their destructor will still be run. So the compiler will complain and not compile your pr
by stonemetal12 2y ago
>No, even user defined classes have to be valid after a move, because their destructor will still be run.
So the compiler will complain and not compile your program?? Nope. It should be if you want a program that functions correctly, but have to? No, C++ doesn't force that on you.