Navigation
API > API/Runtime > API/Runtime/Core
Integral atomic implementation - allows arithmetic and bitwise operations.
| Name | TAtomicBase_Integral |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Atomic.h |
| Include Path | #include "Templates/Atomic.h" |
Syntax
template<typename T>
struct TAtomicBase_Integral : public TAtomicBase_Arithmetic< T, T >
Inheritance Hierarchy
- TAtomicBase_Basic → TAtomicBase_Arithmetic → TAtomicBase_Integral
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Templates/Atomic.h | |||
constexpr TAtomicBase_Integral
(
T Value |
Templates/Atomic.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T AndExchange
(
const T Value |
Performs Element &= Value, returning a copy of the previous value of the element. | Templates/Atomic.h | |
T OrExchange
(
const T Value |
Performs Element |= Value, returning a copy of the previous value of the element. | Templates/Atomic.h | |
T XorExchange
(
const T Value |
Performs Element ^= Value, returning a copy of the previous value of the element. | Templates/Atomic.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T operator&=
(
const T Value |
Performs Element &= Value, returning a copy of the new value of the element. | Templates/Atomic.h | |
T operator^=
(
const T Value |
Performs Element ^= Value, returning a copy of the new value of the element. | Templates/Atomic.h | |
T operator|=
(
const T Value |
Performs Element |= Value, returning a copy of the new value of the element. | Templates/Atomic.h |