Smart Pointers: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(fix broken links to documentation)
(add QScopedArrayPointer)
Line 21: Line 21:
* QGuard (internal class)
* QGuard (internal class)
* [http://doc.qt.io/qt-5/qscopedpointer.html QScopedPointer]
* [http://doc.qt.io/qt-5/qscopedpointer.html QScopedPointer]
* [http://doc.qt.io/qt-5/qscopedarraypointer.html QScopedArrayPointer]


= See also =
= See also =

Revision as of 08:42, 15 April 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

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?

References

Smart Pointer