Редактирование: Guarded Pointers in Qt 3 and Qt 4
Материал из Wiki.crossplatform.ru
Внимание: Вы не представились системе. Ваш IP-адрес будет записан в историю изменений этой страницы.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
- | {{ | + | {{menu_Qt_Издания}} |
by Mark Summerfield | by Mark Summerfield | ||
<blockquote>'''Guarded pointers are pointers that are automaticallyset to 0 when the object they are pointing to is deleted. This meansthat it is always safe to ask "if (p)" with a guardedpointer. This article gives an example of the use of guarded pointersand highlights the differences between the Qt 3 and Qt 4implementations.''' | <blockquote>'''Guarded pointers are pointers that are automaticallyset to 0 when the object they are pointing to is deleted. This meansthat it is always safe to ask "if (p)" with a guardedpointer. This article gives an example of the use of guarded pointersand highlights the differences between the Qt 3 and Qt 4implementations.''' |