![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Classes | |
| class | TIteratorBase |
Typedefs | |
| template<typename InElementType , typename InSizeType > | |
| using | TIterator = TIteratorAdapter< TIteratorBase< InElementType, InSizeType > > |
Functions | |
| template<typename InSizeType > | |
| UE_FORCEINLINE_HINT InSizeType | WrapAround (InSizeType Index, InSizeType Range) |
| using UE::Deque::Private::TIterator = typedef TIteratorAdapter<TIteratorBase<InElementType, InSizeType> > |
| UE_FORCEINLINE_HINT InSizeType UE::Deque::Private::WrapAround | ( | InSizeType | Index, |
| InSizeType | Range | ||
| ) |
This implementation assumes that the Index value is never going to exceed twice the Range value. This way we can avoid the modulo operator or a power of 2 range value requirement and have an efficient wrap around function.