libcoro  1.0
Coroutine support library for C++20
List of all members
coro::reusable_allocator Class Reference

Handles allocation of single coroutine, if it is repeatedly allocated and deallocated. More...

#include <allocator.h>

Detailed Description

Handles allocation of single coroutine, if it is repeatedly allocated and deallocated.

Holds allocated space. This can be useful in cycles, where a coroutine is repeatedly called. You can preserve allocated space for each loop and avoid costly allocations.

Definition at line 49 of file allocator.h.


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