Iros
 
Loading...
Searching...
No Matches
di::FallibleAllocator Struct Reference

#include <di/container/allocator/fallible_allocator.h>

Static Public Member Functions

static auto allocate (usize size, usize alignment) noexcept -> vocab::Expected< AllocationResult<>, vocab::GenericCode >
 
static void deallocate (void *data, usize size, usize alignment) noexcept
 

Member Function Documentation

◆ allocate()

static auto di::container::FallibleAllocator::allocate ( usize size,
usize alignment ) -> vocab::Expected<AllocationResult<>, vocab::GenericCode>
inlinestaticnoexcept

◆ deallocate()

static void di::container::FallibleAllocator::deallocate ( void * data,
usize size,
usize alignment )
inlinestaticnoexcept

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