TRingBuffer::operator[]

Return a const reference to the value at the given Index.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/RingBuffer.h"

Syntax

const ElementType & operator[]
(
    IndexType Index
) const

Remarks

Return a const reference to the value at the given Index. Invalid to call with an index less than 0 or greater than or equal to the number of elements in the RingBuffer.

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