UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TUncheckedFixedAllocator< NumInlineElements > Class Template Reference

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
 

Detailed Description

template<int32 NumInlineElements>
class Chaos::TUncheckedFixedAllocator< NumInlineElements >

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)

Member Enumeration Documentation

◆ anonymous enum

template<int32 NumInlineElements>
anonymous enum
Enumerator
RequireRangeCheck 

The documentation for this class was generated from the following file: