Smart Pointers

Some articles on smart pointers, smart pointer, pointer, pointers:

Insight Segmentation And Registration Toolkit - Technical Summary - Implementation Philosophy
... The memory model depends on "smart pointers" that maintain a reference count to objects ... Smart pointers can be allocated on the stack, and when scope is exited, the smart pointers disappear and decrement their reference count to the object that they refer to ...
Smart Pointer
... In computer science, a smart pointer is an abstract data type that simulates a pointer while providing additional features, such as automatic memory management or bounds checking ... These additional features are intended to reduce bugs caused by the misuse of pointers while retaining efficiency ... Smart pointers typically keep track of the memory they point to ...
C++ Smart Pointers
... In C++, smart pointers may be implemented as a template class that mimics, by means of operator overloading, the behaviour of traditional (raw) pointers, (e.g ... Smart pointers can facilitate intentional programming by expressing the use of a pointer in the type itself ... For example, if a C++ function returns a pointer, there is no way to know whether the caller should delete the memory pointed to when the caller is finished with the information ...

Famous quotes containing the word smart:

    I never met anyone who didn’t have a very smart child. What happens to these children, you wonder, when they reach adulthood?
    Fran Lebowitz (20th century)