TMapBase::FindOrAdd

Syntax

ValueType & FindOrAdd
(
    const KeyType & Key
)

Remarks

Find the value associated with a specified key, or if none exists, adds a value using the default constructor.

Returns

A reference to the value associated with the specified key.

Parameters

Parameter

Description

Key

The key to search for.

References

Module

Core

Header

Runtime/Core/Public/Containers/Map.h