Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · member function

Native::TAtomicSharedPtr::

store

Replace the pointer; the previous pointee, if this held its last reference, is destroyed after the lock is dropped.

Declaration

void store(FValue Desired, std::memory_order = std::memory_order_seq_cst);
Header
#include "Native/AtomicSharedPtr.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
load: any thread. (the rule of TAtomicSharedPtr)

Parameters

NameTypeDefaultMeaning
DesiredFValue——
unnamedstd::memory_orderstd::memory_order_seq_cst—