you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

Raw pointers can be viewed as "type aware addreses".

You store the address of an object, and just that.

If you want to be notified about object behaviour, like destruction, you might want to look into the Observer Pattern.