Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSet
Description
Adds an element to the set.
| Name | EmplaceByHash |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Set.h |
| Include Path | #include "Containers/Set.h" |
template<typename ArgsType>
FSetElementId EmplaceByHash
(
uint32 KeyHash,
ArgsType && Args,
bool * bIsAlreadyInSetPtr
)
A handle to the element stored in the set.
Parameters
| Name | Remarks |
|---|---|
| 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 |
See Also
- Class documentation section on ByHash() functions