Question PRG-CPP-0012
MediumWhat does std::unique_ptr do?
- A.
Owns a heap object exclusively and deletes it automatically when it goes out of scope
- B.
Copies the object on every assignment
- C.
Sign up free to see the answer and a step-by-step explanation.