TAtomicBase_Arithmetic::IncrementExchange

Increments Element and returns a copy of the previous value of the element.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Atomic.h

Include

#include "Templates/Atomic.h"

Syntax

T IncrementExchange()

Remarks

Increments Element and returns a copy of the previous value of the element.

Returns

A copy of the previous, unincremented value.

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