Returns true if A is an unaligned allocator.
Requests a properly aligned block of memory of count * T.sizeof bytes from allocator.
Deallocates the memory referenced by array.ptr from allocator and sets array to null.
Deallocates the memory referenced by ptr from allocator.
Requests an alignment-byte aligned block of memory of count * elementSize bytes from allocator.
Deallocates the memory referenced by ptr from allocator.
Requests resize of an alignment-byte aligned block of memory allocated from allocator or if ptr is null requests memory allocation like rawAllocate/tryRawAllocate. Memory may be moved, but preserveCount elements content will stay the same.
Requests resize of a properly aligned block of memory allocated from allocator or if ptr is null requests memory allocation like allocate/tryAllocate. Memory may be moved, but array elements content will stay the same.
Creates temporary buffer.
Requests a properly aligned block of memory of count * T.sizeof bytes from allocator.
Requests an alignment-byte aligned block of memory of count * elementSize bytes from allocator.
Requests resize of an alignment-byte aligned block of memory allocated from allocator or if ptr is null requests memory allocation like rawAllocate/tryRawAllocate. Memory may be moved, but preserveCount elements content will stay the same.
Requests resize of a properly aligned block of memory allocated from allocator or if ptr is null requests memory allocation like allocate/tryAllocate. Memory may be moved, but array elements content will stay the same.
An unaligned allocator which uses C's malloc/free.
An unaligned shared allocator which can be safely used from multiple threads.
An unaligned thread local allocator.
Manual memory management routines.
Warning: Never use functions like malloc directly unless you know what you are doing as unaligned memory which it returns may lead to random crashed, incorrect behaviour and/or performance reduction.
Also manual count * element size multiplication often leads to buffer overflow vulnerability as one forgets the check.