Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Smart Pointers/bg: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
AutoSpider (talk | contribs) m (AutoSpider moved page Smart Pointers Bulgarian to Smart Pointers/bg: Localisation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Cleanup | reason=Auto-imported from ExpressionEngine.}} | |||
[[Category:Developing_with_Qt::General]] | [[Category:Developing_with_Qt::General]] | ||
Line 11: | Line 13: | ||
== Умни указатели в Qt == | == Умни указатели в Qt == | ||
* | * [http://doc.qt.nokia.com/latest/qpointer.html QPointer] | ||
* | * [http://doc.qt.nokia.com/latest/qshareddatapointer.html QSharedDataPointer] | ||
* | * [http://doc.qt.nokia.com/latest/qexplicitlyshareddatapointer.html QExplicitlySharedDataPointer] | ||
* QtPatternist::AutoPtr (internal class) | * QtPatternist::AutoPtr (internal class) | ||
* | * [http://doc.qt.nokia.com/latest/qsharedpointer.html QSharedPointer] | ||
* | * [http://doc.qt.nokia.com/latest/qweakpointer.html QWeakPointer] | ||
* QGuard (internal class) | * QGuard (internal class) | ||
* | * [http://doc.qt.nokia.com/latest/qscopedpointer.html QScopedPointer] | ||
= Вижте още = | = Вижте още = | ||
[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?] | |||
= Източници = | = Източници = | ||
[http://en.wikipedia.org/wiki/Smart_pointers Smart Pointer] |
Latest revision as of 03:37, 12 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 (Умни указатели)
Цел
Т.нар. умен указател e абстрактен тип данни, който има притежава всички функционалсти на стандартния указател и освен това осигурява автоматично изтриване (освобождаване на паметта). Умните указатели улесняват операциите, свързани с динамичното управление на паметта. Основното им предимство е намаляване на проблеми при работа с паметта и други проблеми, държащи се на лошо управление на стандартните указатели.
Умни указатели в Qt
- QPointer
- QSharedDataPointer
- QExplicitlySharedDataPointer
- QtPatternist::AutoPtr (internal class)
- QSharedPointer
- QWeakPointer
- QGuard (internal class)
- QScopedPointer
Вижте още
Count with me: how many smart pointer classes does Qt have?