libcoro  1.0
Coroutine support library for C++20
List of all members
coro::pmr_allocator< Res > Class Template Reference

Creates libcoro compatible allocator which uses an instance of std::pmr::memory_resource for allocations. More...

#include <allocator.h>

Detailed Description

template<memory_resource_pointer Res>
class coro::pmr_allocator< Res >

Creates libcoro compatible allocator which uses an instance of std::pmr::memory_resource for allocations.

Template Parameters
Respointer to memory resource, it can be also any smart pointer which acts as pointer (defines ->). You can use std::shared_ptr which causes that memory resource is automatically released when last coroutine is finished
}
COROUTINE: Coroutine for asynchronous operation.
Definition: async.h:55
Creates libcoro compatible allocator which uses an instance of std::pmr::memory_resource for allocati...
Definition: allocator.h:189

Definition at line 189 of file allocator.h.


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