/Engine/Source/Runtime/GeometryCore/Public/Util/SparseListSet.h
TSparseListSetcan support parallel insertion into the lists. Note however that lists cannot be added (via AllocateAt) while parallel insertion occurs via Insert(Index). To allow for this type of usage,AllocateAt()returns aFListHandlewhich can then be used withInsert()orSetValues()even while otherAllocateAt()calls occur (within a lock).
template<typename ElementType> struct TSparseListSet