08.11.2014 Views

Memory Management - Poco

Memory Management - Poco

Memory Management - Poco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Object Ownership<br />

> If someone takes "ownership" of an object, he is responsible for<br />

deleting the object when it's no longer needed.<br />

> If the owner of an object fails to delete it, this will result in a<br />

memory leak.<br />

> Others may point to the object, too, but they will never delete<br />

the object.<br />

> Ownership is transferable. But at any given time there can only<br />

be one owner.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!