TSet::Emplace

Syntax

template<typename ArgsType>
FSetElementId Emplace
(
    ArgsType && Args,
    bool * bIsAlreadyInSetPtr
)

Remarks

Adds an element to the set.

Returns

A pointer to the element stored in the set.

Parameters

Parameter

Description

Args

The argument(s) to be forwarded to the set element's constructor.

bIsAlreadyInSetPtr

[out] Optional pointer to bool that will be set depending on whether element is already in set

References

Module

Core

Header

Runtime/Core/Public/Containers/Set.h