QAdoptSharedDataTag Struct

QAdoptSharedDataTag 是一个辅助标记类。更多

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

注意:该结构中的所有函数都是线程安全的

详细说明

QAdoptSharedDataTag 对象在QSharedDataPointerQExplicitlySharedDataPointer 中用于采用指向共享数据的指针。

详情请参见QSharedDataPointerQExplicitlySharedDataPointer

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