4#ifndef WPI_MEMORY_NEW_ALLOCATOR_HPP_INCLUDED
5#define WPI_MEMORY_NEW_ALLOCATOR_HPP_INCLUDED
13#if WPI_MEMORY_EXTERN_TEMPLATE
21 struct allocator_info;
37 new_alloator_leak_checker)
45 WPI_IMPL_DEFINED(
detail::lowlevel_allocator<
detail::new_allocator_impl>);
47#if WPI_MEMORY_EXTERN_TEMPLATE
The default specialization of the wpi::memory::allocator_traits.
The default specialization of the allocator_traits for a RawAllocator.
Definition allocator_traits.hpp:292
Definition lowlevel_allocator.hpp:37
implementation_defined new_allocator
A stateless RawAllocator that allocates memory using (nothrow) operator new.
Definition new_allocator.hpp:44
#define WPI_MEMORY_LL_ALLOCATOR_LEAK_CHECKER(functor, var_name)
Definition lowlevel_allocator.hpp:79
detail namespace with internal helper functions
Definition input_adapters.h:32
Implement std::hash so that hash_code can be used in STL containers.
Definition PointerIntPair.h:280
Memory namespace.
Definition heap_allocator.hpp:20
Foonathan namespace.
Definition ntcore_cpp.h:26
Contains information about an allocator.
Definition error.hpp:23
Definition new_allocator.hpp:26
static void deallocate(void *ptr, std::size_t size, std::size_t) noexcept
static std::size_t max_node_size() noexcept
static void * allocate(std::size_t size, std::size_t) noexcept
static allocator_info info() noexcept