TUncheckedFixedAllocator

A fixed allocator without array bounds checking except in Debug builds.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TFixedAllocator

TUncheckedFixedAllocator

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/UncheckedArray.h

Include

#include "Chaos/Framework/UncheckedArray.h"

Syntax

template<int32 NumInlineElements>
class TUncheckedFixedAllocator : public TFixedAllocator< NumInlineElements >

Remarks

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)

Constants

Name

Description

RequireRangeCheck