Practice ยท 2 of 2
Rule of Zero vs Rule of Five
Config0 already obeys the Rule of Zero โ leave it alone. Implement all five special members of Lease over its owning int*: deep copy, guarded assignment, noexcept steals.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: noexcept and Ownership Rules