engine
 
载入中...
搜索中...
未找到
所有成员列表
TNonRelocatableInlineAllocator< NumInlineElements > 模板类 参考

Implements a variant of TInlineAllocator with a secondary heap allocator that is allowed to store a pointer to its inline elements. 更多...

#include <ContainerAllocationPolicies.h>

详细描述

template<uint32 NumInlineElements>
class TNonRelocatableInlineAllocator< NumInlineElements >

Implements a variant of TInlineAllocator with a secondary heap allocator that is allowed to store a pointer to its inline elements.

This allows caching a pointer to the elements which avoids any conditional logic in GetAllocation(), but prevents the allocator being trivially relocatable. All UE4 allocators typically rely on elements being trivially relocatable, so instances of this allocator cannot be used in other containers.


该类的文档由以下文件生成: