CSmartPtr: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Smart | {{orphan}} | ||
Smart [[pointer]]s can be used to automatically free an object when nobody points at it anymore. Things contained in smart pointers must implement [[AddRef]] and Release functions. If those functions are private, then the class must make [[CRefCountAccessor]] a friend. | |||
[[Category:Helpers]] | [[Category:Helpers]] |
Revision as of 01:32, 16 February 2011

This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
You can help by

Smart pointers can be used to automatically free an object when nobody points at it anymore. Things contained in smart pointers must implement AddRef and Release functions. If those functions are private, then the class must make CRefCountAccessor a friend.