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