TDiscardableKeyValueCache::Add

Add an entry to the current map.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/DiscardableKeyValueCache.h

Include

#include "Containers/DiscardableKeyValueCache.h"

Syntax

bool Add
(
    const KeyType & Key,
    const ValueType & Value,
    const uint32 LockFlags
)

Remarks

Add an entry to the current map. Can fail if another thread has inserted a matching object, in which case another call to Find() should succeed

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