TRingBuffer::Emplace

Add a new element after the back pointer of the RingBuffer, resizing if necessary.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/RingBuffer.h

Include

#include "Containers/RingBuffer.h"

Syntax

template<typename... ArgsType>
IndexType Emplace
(
    ArgsType &&... Args
)

Remarks

Add a new element after the back pointer of the RingBuffer, resizing if necessary. The new element is constructed from the given arguments. Returns the index to the added element.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss