QAdoptSharedDataTag Struct
The QAdoptSharedDataTag struct tags a QSharedDataPointer constructor that adopts data. More…
| Header | #include <QtCore/qshareddata.h> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Core) |
| Module | Nt Core C++ Classes |
List of all members, including inherited members
Public Functions
Detailed Description
Pass a QAdoptSharedDataTag as the first argument to QSharedDataPointer::QSharedDataPointer(QAdoptSharedDataTag, T *) to take over a data pointer without incrementing its reference count.
Differences from Qt
This is an Nt-only type, not part of the public Qt API.
Member Function Documentation
QAdoptSharedDataTag::QAdoptSharedDataTag()
Constructs a tag.