TAtomicBase_Integral

Integral atomic implementation - allows arithmetic and bitwise operations.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Protected function

TAtomicBase_Integral()

Protected function

TAtomicBase_Integral

(
    T Value
)

Functions

Name Description

Public function

T

 

AndExchange

(
    const T Value
)

Performs Element &= Value, returning a copy of the previous value of the element.

Public function

T

 

OrExchange

(
    const T Value
)

Performs Element |= Value, returning a copy of the previous value of the element.

Public function

T

 

XorExchange

(
    const T Value
)

Performs Element ^= Value, returning a copy of the previous value of the element.

Operators

Name Description

Public function

T

 

operator&=

(
    const T Value
)

Performs Element &= Value, returning a copy of the new value of the element.

Public function

T

 

operator^=

(
    const T Value
)

Performs Element ^= Value, returning a copy of the new value of the element.

Public function

T

 

operator|=

(
    const T Value
)

Performs Element |= Value, returning a copy of the new value of the element.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss