이 페이지에서

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.