Tuesday, September 15, 2009

Smart Pointers

Smart pointers are objects that look and feel like pointers, but are smarter.
To look and feel like pointers, smart pointers need to have the same interface that pointers do: they need to support pointer operations like dereferencing (operator *) and indirection (operator ->). An object that looks and feels like something else is called a proxy object, or just proxy.

No comments:

Post a Comment