engine
 
载入中...
搜索中...
未找到
所有成员列表
FArenaPointer类 参考

Tagged Arena Pointer 更多...

#include <MemoryArena.h>

被 TArenaPointer< T > 继承.

详细描述

Tagged Arena Pointer

Stores an arena ID alongside a pointer. On 64-bit architectures the arena ID can be encoded in the otherwise unused MSB part of the pointer for zero memory overhead vs a regular pointer. For 32-bit architectures the arena ID is stored in a separate member.

A null pointer can still have an arena ID, which is useful for cases where you have a container that starts out empty but still want to track which arena should be used for subsequent allocations.


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