TAtomic::TAtomic

Initializes the element type with the given argument types.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Templates/Atomic.h"

Syntax

constexpr TAtomic
(
    T Arg
)

Remarks

Initializes the element type with the given argument types.

@note This constructor is not atomic.

Parameters

Parameter

Description

Arg

The value to initialize the element counter to