Auf dieser Seite

QAtomicInt Class

Die Klasse „QAtomicInt“ bietet plattformunabhängige atomare Operationen für „int“. Mehr dazu...

Header: #include <QAtomicInt>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Erbt von: QAtomicInteger

Öffentliche Funktionen

QAtomicInt(int value = 0)

Ausführliche Beschreibung

Diese Klasse entspricht der Klasse „ QAtomicInteger<int> “. Alle weiteren Funktionen sind identisch. Weitere Informationen finden Sie in der genannten Klasse.

Siehe auch „ QAtomicInteger “ und „ QAtomicPointer “.

Dokumentation zu den Mitgliedsfunktionen

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

Erstellt ein `QAtomicInt` mit dem angegebenen ` value`.

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