Practice ยท 1 of 2
noexcept Unlocks Moving Growth
Complete Buffer's move constructor and move assignment **noexcept** using std::exchange. The graded check grows a std::vector<Buffer> to 8 elements with push_back and requires the copy counter to stay at zero โ the proof that vector relocates by move.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: noexcept and Ownership Rules