Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::AwaitAllocator Struct Reference

Explicit allocator used by AwaitTask coroutine frame allocation. More...

#include <Await.h>

Public Member Functions

 AwaitAllocator (const AwaitAllocator &)=delete
 
AwaitAllocatoroperator= (const AwaitAllocator &)=delete
 
 AwaitAllocator (AwaitAllocator &&)=delete
 
AwaitAllocatoroperator= (AwaitAllocator &&)=delete
 
Result createFixed (Span< char > storage)
 
Result createVirtual (AwaitAllocatorVirtualOptions options)
 
Result createMalloc ()
 
Result createPolymorphic (AwaitAllocatorInterface &customAllocatorInterface)
 
Result close ()
 
void * allocate (const void *owner, size_t numBytes, size_t alignment)
 
void release (void *memory)
 
AwaitAllocatorMode mode () const
 
AwaitAllocatorStatistics statistics () const
 
bool isOpen () const
 
size_t used () const
 
size_t capacity () const
 
size_t peakUsed () const
 
size_t failedAllocationSize () const
 
size_t reservedBytes () const
 
size_t committedBytes () const
 

Static Public Member Functions

static void releaseFromAnyAllocator (void *memory)
 

Detailed Description

Explicit allocator used by AwaitTask coroutine frame allocation.


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