![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
A fixed allocator without array bounds checking except in Debug builds. More...
#include <UncheckedArray.h>
Inheritance diagram for Chaos::TUncheckedFixedAllocator< NumInlineElements >:Public Types | |
| enum | { RequireRangeCheck = false } |
Public Types inherited from TFixedAllocator< NumInlineElements > | |
| enum | { NeedsElementType = true } |
| enum | { RequireRangeCheck = true } |
| enum | { ShrinkByDefault = false } |
| using | SizeType = int32 |
| typedef void | ForAnyElementType |
A fixed allocator without array bounds checking except in Debug builds.
In non-debug builds this offers no saftey at all - it is effectively a C-style array.
This is for use in critical path code where bounds checking would be costly and we want to ship a build with most asserts enabled (e.g. the server)