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.
Glossary: Data Structures and Algorithms in C++
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.