The documentation for the class puntoexe::ptr is misleading
Issue #18
resolved
The documentation states: "This class must be used to allocate objects derived from the class baseObject. "
This is incorrect. The class tracks the usage of objects derived from puntoexe::baseObject, and automatically deletes them when they reference counter reaches 0. It's the only class that can delete an object derived from puntoexe::baseObject.
Comments (2)
-
reporter -
reporter - changed status to resolved
- Log in to comment
Correction: the ptr class is the only one that can call release on a baseObject. Only baseObject can delete itself.