Re:How to make Flappy Bird with C++
by t6jvcereio on Thursday August 25, 2022 @06:24PM
(#32600722)
What does ownership mean? Specifically.
[ Parent
| on HN ]
If object a owns object b, then it means that a is responsible for managing b's lifetime - that is to delete b and free the memory.
Edit: A may also fulfill its obligation by transferring b to a new owner.