Auf dieser Seite

QAdoptSharedDataTag Struct

Das „QAdoptSharedDataTag“ ist eine Hilfs-Tag-Klasse. Mehr dazu...

Header: #include <qshareddata.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Seit: Qt 6.0

Hinweis: Alle Funktionen in dieser Struktur sind threadsicher.

Öffentliche Funktionen

Ausführliche Beschreibung

QAdoptSharedDataTag-Objekte werden in „ QSharedDataPointer “ und „ QExplicitlySharedDataPointer “ verwendet, um einen Zeiger auf gemeinsam genutzte Daten zu übernehmen.

Weitere Informationen finden Sie unter QSharedDataPointer und QExplicitlySharedDataPointer.

Dokumentation zu den Mitgliedsfunktionen

[explicit constexpr noexcept default] QAdoptSharedDataTag::QAdoptSharedDataTag()

Erstellt standardmäßig eine Instanz von ` QAdoptSharedDataTag`.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.