QAtomicInt Class

QAtomicInt クラスは、プラットフォームに依存しない int のアトミック操作を提供します。詳細...

ヘッダ #include <QAtomicInt>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
継承: QAtomicInteger

パブリック関数

QAtomicInt(int value = 0)

詳細な説明

このクラスはQAtomicInteger<int> と同等です。その他の機能はすべて同等です。詳細はそのクラスを参照してください。

QAtomicInteger およびQAtomicPointerも参照して ください。

メンバ関数のドキュメント

[constexpr noexcept] QAtomicInt::QAtomicInt(int value = 0)

与えられたvalue で QAtomicInt を構築します。

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