Smart Pointers

From Qt Wiki
Revision as of 09:04, 25 February 2015 by Maintenance script (talk | contribs)
Jump to navigation Jump to search


English Български Русский

Smart Pointers

Purpose

Smart pointer is an abstract data type that has all features of a standard pointer and additionally provides automatic garbage collection. Smart pointers facilitate the dynamic memory operations. Their main advantage is reducing memory leaks and bugs due to poor memory management.

Smart Pointers in Qt

See also

"Count with me: how many smart pointer classes does Qt have?":http://blog.qt.io/blog/2009/08/25/count-with-me-how-many-smart-pointer-classes-does-qt-have/

References

"Smart Pointer":http://en.wikipedia.org/wiki/Smart_pointers