emlabcpp
modern opinionated embedded C++ library
|
#include <memory_promise.h>
Public Member Functions | |
void * | operator new (std::size_t const sz, auto &, pmr::memory_resource &pi, auto &&...) noexcept |
void * | operator new (std::size_t const sz, pmr::memory_resource &pi, auto &&...) noexcept |
void * | operator new (std::size_t const sz, auto &&...) noexcept=delete |
void | operator delete (void *const ptr, std::size_t const size) |
Static Public Member Functions | |
static void * | alloc (std::size_t sz, pmr::memory_resource &pi) |
Static Public Attributes | |
static constexpr std::size_t | ptr_size = sizeof( pmr::memory_resource* ) |
|
inlinestatic |
References emlabcpp::pi, and emlabcpp::coro::memory_promise< PromiseType >::ptr_size.
|
inline |
|
deletenoexcept |
|
inlinenoexcept |
References emlabcpp::coro::memory_promise< PromiseType >::alloc(), and emlabcpp::pi.
|
inlinenoexcept |
References emlabcpp::coro::memory_promise< PromiseType >::alloc(), and emlabcpp::pi.
|
staticconstexpr |