folly::CxxIoUringAllocator

An STL-compatible allocator backed by the io_uring arena.

Synopsis

Declared in <folly/memory/IoUringArena.h>

template<typename T>
class CxxIoUringAllocator;

Type Aliases

NameDescription
value_type The type of object allocated by this allocator.

Member Functions

NameDescription
CxxIoUringAllocator [constructor]Constructors
allocate Allocates storage for n objects from the arena.
deallocate Frees storage previously allocated from the arena.

Friends

NameDescription
folly::operator!=Compares two allocators for inequality.
folly::operator==Compares two allocators for equality.

Template Parameters

NameDescription
TThe type of object to allocate.