This is the specialization of PointerToVoid for weak pointers. More...
Public Member Functions | |
bool | isValidPointer () |
Returns true if the pointer is not null and the object has not been deleted. | |
bool | wasDeleted () |
Returns true if the object we are pointing to has been deleted, false otherwise. |
This is the specialization of PointerToVoid for weak pointers.
It needs an additional flag to indicate that the pointer has been deleted.
bool isValidPointer | ( | ) |
Returns true if the pointer is not null and the object has not been deleted.
bool wasDeleted | ( | ) |
Returns true if the object we are pointing to has been deleted, false otherwise.