123. Move Semantics

Question.3

A developer writes the following code:

Buffer b1(64);
Buffer b2 = std::move(b1);

If the Buffer class has no move constructor (only a copy constructor), what happens?

Need Help? Refer to the Quick Guide below

Select Answer