QAdoptSharedDataTag Struct | Qt Core 6.4.1

- Qt 6.4
- Qt Core
- C++ Classes
- QAdoptSharedDataTag
- Qt 6.4.1 Reference Documentation

# QAdoptSharedDataTag Struct

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

Header: | #include <QAdoptSharedDataTag>
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) 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.