699 B
699 B
LinearAllocator::GetAllocationCount
获取相关状态或对象。
size_t GetAllocationCount() const override;
该方法声明于 XCEngine/Memory/LinearAllocator.h,当前页面用于固定 LinearAllocator 类目录下的方法级 canonical 路径。
参数: 无。
返回: size_t - 返回值语义详见头文件声明。
示例:
#include <XCEngine/Memory/LinearAllocator.h>
void Example() {
XCEngine::Memory::LinearAllocator object;
// 根据上下文补齐参数后调用 LinearAllocator::GetAllocationCount(...)。
(void)object;
}