Question.7
A developer defines a destructor and copy constructor for a buffer class but provides no move operations. What is the consequence?
Select Answer
Nothing -- the compiler generates move operations automatically
The compiler does NOT generate move operations when copy operations or a destructor are user-defined; all rvalue transfers silently fall back to (expensive) copies
Compilation error -- move operations are required
The compiler generates optimal move operations from the copy logic