TAtomicBase_Arithmetic::operator+=

Performs Element += Value, returning a copy of the new 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 operator+=
(
    DiffType Value
)

Remarks

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

Returns

A copy of the new, incremented value.

Parameters

Parameter

Description

Value

The value to add to 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