Navigation
API > API/Runtime > API/Runtime/Core
Description
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.
| Name | UE::Deque::Private::WrapAround |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Deque.h |
| Include Path | #include "Containers/Deque.h" |
namespace UE
{
namespace Deque
{
namespace Private
{
template<typename InSizeType>
InSizeType UE::Deque::Private::WrapAround
(
InSizeType Index,
InSizeType Range
)
}
}
}