26#ifndef ROUTER_SRC_HARNESS_INCLUDE_SECURE_ALLOCATOR_H_
27#define ROUTER_SRC_HARNESS_INCLUDE_SECURE_ALLOCATOR_H_
void deallocate(void *ptr, std::size_t size) noexcept
Deallocates the given number of bytes.
Definition: secure_memory_pool.cc:229
void * allocate(std::size_t size)
Allocates the given number of bytes.
Definition: secure_memory_pool.cc:214
static SecureMemoryPool & get()
The single instance of this class.
Definition: secure_memory_pool.cc:209
const char * p
Definition: ctype-mb.cc:1227
#define T
Definition: jit_executor_value.cc:373
Definition: secure_allocator.h:41
Adapter for SecureMemoryPool which can be used by the STL allocators.
Definition: secure_allocator.h:37
T * allocate(std::size_t n)
Definition: secure_allocator.h:57
constexpr SecureAllocator() noexcept=default
void deallocate(T *p, std::size_t n) noexcept
Definition: secure_allocator.h:61
T value_type
Definition: secure_allocator.h:38
int n
Definition: xcom_base.cc:509