CrystalSpace

Public API Reference

CS::Memory::LocalBufferAllocatorUnchecked< T, N, ExcessAllocator, SingleAllocation > Class Template Reference

LocalBufferAllocator without safety checks, but suitable for use across modules. More...

#include <csutil/allocator.h>

List of all members.


Detailed Description

template<typename T, size_t N, class ExcessAllocator = AllocatorMalloc, bool SingleAllocation = false>
class CS::Memory::LocalBufferAllocatorUnchecked< T, N, ExcessAllocator, SingleAllocation >

LocalBufferAllocator without safety checks, but suitable for use across modules.

Since this class does not perform the same safety checks as LocalBufferAllocator it's good practice to start off with a normal (checked) LocalBufferAllocator and only move to using LocalBufferAllocatorUnchecked once you're sure there are no invalid usages.

Definition at line 332 of file allocator.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1