123. Move Semantics

Question.1

A Buffer class manages a 1 KB heap allocation. A developer compares the following operations:

Buffer a(1024);
Buffer b = a;             // Copy
Buffer c = std::move(a);  // Move

What operations does each perform?

Need Help? Refer to the Quick Guide below

Select Answer