WPILibC++ 2024.3.2
|
This file defines MallocAllocator. More...
Go to the source code of this file.
Classes | |
class | wpi::AllocatorBase< DerivedT > |
CRTP base class providing obvious overloads for the core Allocate() methods of LLVM-style allocators. More... | |
class | wpi::MallocAllocator |
class | wpi::detail::AllocatorHolder< Alloc > |
class | wpi::detail::AllocatorHolder< Alloc & > |
Namespaces | |
namespace | wpi |
namespace | wpi::detail |
Macros | |
#define | LLVM_ALLOCATORHOLDER_EMPTYBASE |
This file defines MallocAllocator.
MallocAllocator conforms to the LLVM "Allocator" concept which consists of an Allocate method accepting a size and alignment, and a Deallocate accepting a pointer and size. Further, the LLVM "Allocator" concept has overloads of Allocate and Deallocate for setting size and alignment based on the final type. These overloads are typically provided by a base class template AllocatorBase
.
#define LLVM_ALLOCATORHOLDER_EMPTYBASE |