The exposition-only connect-awaitable function implicitly allocates a coroutine-frame for a coroutine to co_await the awaitable.
However, there is currently no way to customise this allocation to use a user-provided allocator.
We should extend the connect-awaitable-promise type use a custom operator new() that dispatches to allocate using the allocator obtained from get_allocator(get_env(rcvr)).
The exposition-only
connect-awaitable
function implicitly allocates a coroutine-frame for a coroutine toco_await
the awaitable.However, there is currently no way to customise this allocation to use a user-provided allocator.
We should extend the
connect-awaitable-promise
type use a customoperator new()
that dispatches to allocate using the allocator obtained fromget_allocator(get_env(rcvr))
.