boost::capy::recycling_memory_resource::do_allocate
Allocate through the std::pmr::memory_resource interface.
Synopsis
virtual
void*
do_allocate(
std::size_t bytes,
std::size_t alignment) override;
Description
Forwards to allocate_fast, so it has that function's contract. Call allocate_fast directly to skip the virtual dispatch.
Exceptions
Name |
Thrown on |
|
If the underlying |
Parameters
Name |
Description |
bytes |
The number of bytes to allocate. |
alignment |
The requested alignment. It is ignored. |
Created with MrDocs