Skip to content

Glossary: Data Structures and Algorithms in C++

Ownership

Also written: owns

Which object is responsible for freeing a resource. Each Node owns the next through a std::unique_ptr, so the whole chain is freed with its first node.

Where the book teaches it

Related terms

std::unique_ptrRAII