|
memory
|
A stateless RawAllocator that allocates memory using the virtual memory allocation functions.
It does not prereserve any memory and will always reserve and commit combined.
Typedefs | |
| using | is_stateful |
Member Functions | |
| virtual_memory_allocator (virtual_memory_allocator &&) noexcept | |
| virtual_memory_allocator & | operator= (virtual_memory_allocator &&) noexcept |
| void * | allocate_node (std::size_t size, std::size_t alignment) |
| void | deallocate_node (void *node, std::size_t size, std::size_t alignment) noexcept |
| std::size_t | max_node_size () const noexcept |
| std::size_t | max_alignment () const noexcept |
| void * allocate_node | ( | std::size_t | size, |
| std::size_t | alignment ) |
size continuous bytes, i.e. size will be rounded up to the next multiple. If debug fences are activated, one additional page before and after the memory will be allocated. nullptr. It will always be aligned on a fence boundary, regardless of the alignment parameter.
|
noexcept |
|
noexcept |
|
noexcept |
1.13.2