Smart Pointers/bg: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Convert ExpressionEngine links)
Line 13: Line 13:
== Умни указатели в Qt ==
== Умни указатели в Qt ==


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


= Вижте още =
= Вижте още =


"Count with me: how many smart pointer classes does Qt have?":http://labs.qt.nokia.com/2009/08/25/count-with-me-how-many-smart-pointer-classes-does-qt-have/
[http://labs.qt.nokia.com/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?]


= Източници =
= Източници =


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

Revision as of 15:43, 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 (Умни указатели)

Цел

Т.нар. умен указател e абстрактен тип данни, който има притежава всички функционалсти на стандартния указател и освен това осигурява автоматично изтриване (освобождаване на паметта). Умните указатели улесняват операциите, свързани с динамичното управление на паметта. Основното им предимство е намаляване на проблеми при работа с паметта и други проблеми, държащи се на лошо управление на стандартните указатели.

Умни указатели в Qt

Вижте още

Count with me: how many smart pointer classes does Qt have?

Източници

Smart Pointer