#pragma once #include "allocation.hpp" template AllocDestructor::AllocDestructor( Allocator &allocator, Size alloc_size ) noexcept : _allocator(allocator), _size(alloc_size) { } template void AllocDestructor::operator()(Pointer ptr) noexcept { _alloc_traits::deallocate(_allocator, ptr, _size); }