Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/Set.h |
Include |
#include "Containers/Set.h" |
ElementType & FindOrAdd
(
const InElementType & InElement,
bool * bIsAlreadyInSetPtr
)
Adds an element to the set if not already present and returns a reference to the added or existing element.
A reference to the element stored in the set.
Parameter |
Description |
---|---|
InElement |
Element to add to set |
bIsAlreadyInSetPtr |
[out] Optional pointer to bool that will be set depending on whether element is already in set |