このページでは

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を構築します。

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