16#ifndef TRACKINGITSU_INCLUDE_EXTERNALALLOCATOR_H_
17#define TRACKINGITSU_INCLUDE_EXTERNALALLOCATOR_H_
19#include <memory_resource>
41 throw std::bad_alloc();
48 mAlloc->
deallocate(
static_cast<char*
>(p), bytes);
53 return this == &
other;
void * do_allocate(size_t bytes, size_t alignment) override
ExternalAllocatorAdaptor(ExternalAllocator *alloc)
void do_deallocate(void *p, size_t bytes, size_t) override
bool do_is_equal(const std::pmr::memory_resource &other) const noexcept override
virtual void deallocate(char *, size_t)=0
virtual void * allocate(size_t)=0
VectorOfTObjectPtrs other