Smart Pointers: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Convert ExpressionEngine links)
Line 13: Line 13:
== Smart Pointers in Qt ==
== Smart Pointers in Qt ==


* "QPointer":http://doc.qt.io/latest/qpointer.html
* [http://doc.qt.io/latest/qpointer.html QPointer]
* "QSharedDataPointer":http://doc.qt.io/latest/qshareddatapointer.html
* [http://doc.qt.io/latest/qshareddatapointer.html QSharedDataPointer]
* "QExplicitlySharedDataPointer":http://doc.qt.io/latest/qexplicitlyshareddatapointer.html
* [http://doc.qt.io/latest/qexplicitlyshareddatapointer.html QExplicitlySharedDataPointer]
* QtPatternist::AutoPtr (internal class)
* QtPatternist::AutoPtr (internal class)
* "QSharedPointer":http://doc.qt.io/latest/qsharedpointer.html
* [http://doc.qt.io/latest/qsharedpointer.html QSharedPointer]
* "QWeakPointer":http://doc.qt.io/latest/qweakpointer.html
* [http://doc.qt.io/latest/qweakpointer.html QWeakPointer]
* QGuard (internal class)
* QGuard (internal class)
* "QScopedPointer":http://doc.qt.io/latest/qscopedpointer.html
* [http://doc.qt.io/latest/qscopedpointer.html QScopedPointer]


= See also =
= 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/
[http://blog.qt.io/blog/2009/08/25/count-with-me-how-many-smart-pointer-classes-does-qt-have/ Count with me: how many smart pointer classes does Qt have?]


= References =
= References =


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

Revision as of 15:42, 4 March 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