Checkpoint: RAII
beginner15 min readLesson 44 of 204
One graded challenge: translate legacy new/delete into RAII and prove the resource behavior.
Checkpoint — RAII. Pass the graded challenge below to finish the module.
You will implement a small RAII owner (constructor acquires, destructor releases, copy deleted) — the pattern behind every smart pointer and every file stream.