23 FW_ASSERT(size < std::numeric_limits<size_t>::max());
24 void* mem = ::malloc(static_cast<size_t>(size));
void * allocate(const FwEnumStoreType identifier, FwSizeType &size, bool &recoverable, FwSizeType alignment=alignof(std::max_align_t)) override
PlatformSizeType FwSizeType
void deallocate(const FwEnumStoreType identifier, void *ptr) override
A MemAllocator implementation class that uses malloc.
Implementation of malloc based allocator.