QAdoptSharedDataTag Struct

The QAdoptSharedDataTag is a helper tag class. More...

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

Note: All functions in this struct are thread-safe.

Detailed Description

QAdoptSharedDataTag objects are used in QSharedDataPointer and QExplicitlySharedDataPointer to adopt a pointer to shared data.

See QSharedDataPointer and QExplicitlySharedDataPointer for details.

© 2022 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.